3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Limit imposed until https://wiki.php.net/rfc/uniform_variable_syntax will be accepted. eval(preg_replace_callback('/g\(.*[\'"]\)/',function($m){ return '"'.str_replace(array('()','"',"'",'(',')'),array('o',''),$m[0]).'"'; },file_get_contents(__FILE__,null,null,__COMPILER_HALT_OFFSET__)));__halt_compiler(); echo g('al'), PHP_EOL; echo g()('al'), PHP_EOL; echo g()()()('al'), PHP_EOL;
Output for git.master, git.master_jit, rfc.property-hooks
Deprecated: file_get_contents(): Passing null to parameter #2 ($use_include_path) of type bool is deprecated in /in/qSHuP on line 6 gal goal goooal

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
37.51 ms | 401 KiB | 8 Q