3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?hh echo $argv[0]; echo file_get_contents('/etc/hhvm/cli.hdf'); echo file_get_contents('/etc/hhvm/php.ini');
Output for hhvm-3.10.0 - 3.12.0
/in/hcfQG# https://github.com/facebook/hhvm/wiki/Runtime-options Log { Level = Warning AlwaysLogUnhandledExceptions = true RuntimeErrorReportingLevel = 8191 # InjectedStackTrace = true NativeStackTrace = true MaxMessagesPerRequest = 16 } Debug { FullBacktrace = true ServerErrorMessage = true TranslateSource = false RecordInput = false ClearInputOnSuccess = true ProfilerOutputDir = /tmp CoreDumpReport = false } ErrorHandling { CallUserHandlerOnFatals = true # NoInfiniteLoopDetection = false NoInfiniteRecursionDetection = false # ThrowBadTypeExceptions = false NoticeFrequency = 1 # 1 out of these many notices to log WarningFrequency = 1 # 1 out of these many warnings to log # AssertActive = false # AssertWarning = false } # https://github.com/facebook/hhvm/blob/master/hphp/doc/repo Repo { Central { Path = /var/tmp/hhbc-%{schema}.sqlite3 } Local { Path = /tmp/hhbc-local.sqlite3 } DebugInfo = false } Eval { Jit = 0 } Hack.Lang.LookForTypechecker = 0 [hhvm] hhvm.jit = 0 [PHP] memory_limit = 128M disable_functions = ini_set,pcntl_fork [date] date.timezone = Europe/Amsterdam
Output for 5.4.0 - 5.4.32
<?hh echo $argv[0]; echo file_get_contents('/etc/hhvm/cli.hdf'); echo file_get_contents('/etc/hhvm/php.ini');