Skip to content

Compatibility#

The following section lists the compatibility status of the compiler and runtime.

Suported Language Features#

  • PHP 5.4, 5.5, 5.6 Syntax
  • PHP 7.0, 7.1, 7.2, 7.3 Syntax
  • Referencing .NET assemblies
  • Referencing PHP script libraries
  • Code generation
  • Routine declaration
  • Types declaration
  • Statements compiler
  • Method overrides, Ghost stubs
  • Destructors
  • Constants
  • Native PHP types
  • PHPDoc
  • Value copying
  • Value aliasing
  • Array access for strings
  • Indirect variable access
  • Indirect function call
  • Indirect class access
  • Magic methods
  • Variable arguments (params)
  • Inclusions (include, require, once)
  • Autoload (__autoload, spl)
  • Late static binding
  • varargs ("...")
  • Argument unpacking ("...")
  • Anonymous classes
  • Traits
  • Closures
  • C# Lambda functions
  • Eval
  • Exceptions
  • Implicit casting
  • PHP Generators
  • PHP Stack Trace
  • PHAR support
  • Reflection

Implemented Extensions#

  • Math
  • Output Buffering
  • Variables
  • Strings
  • Arrays
  • Streams
  • Mail
  • Hash
  • File System
  • FileInfo
  • ftp
  • intl
  • Serialization
  • Sockets
  • PDO
  • mssql
  • MySql
  • MySqli (most of the functionality)
  • GD2
  • cURL
  • XML
  • Dom
  • Misc
  • PCRE
  • PCRE syntax parser
  • Modification of .NET Regex
  • pthreads
  • Sessions
  • Soap
  • SPL
  • Tokenizer
  • Reflection
  • zlib
  • Zip

Supported Extensions Note

Note, the extensions functionality may be not complete or the behavior may differ in some edge cases.