3v4l.org

run code in 300+ PHP versions simultaneously
<?php eval(strtr(file_get_contents(__FILE__, false, null, __COMPILER_HALT_OFFSET__), [ '__HERLT_CERMPERLER' => '__halt_compiler', 'ERBSTRERCT' => 'abstract', 'ERND' => 'and', 'ERER' => 'array', 'ERS' => 'as', 'BRERK' => 'break', 'CERLERBL' => 'callable', 'CERS' => 'case', 'CERTCH' => 'catch', 'CLERS' => 'class', 'CLERN' => 'clone', 'CERNST' => 'const', 'CERNTERNER' => 'continue', 'DERCLER' => 'declare', 'DERFERLT' => 'default', 'DER' => 'die', 'DER' => 'do', 'ERCH' => 'echo', 'ERLS' => 'else', 'ERLSERF' => 'elseif', 'ERMPTER' => 'empty', 'ERNDERCLER' => 'enddeclare', 'ERNDFER' => 'endfor', 'ERNDFERERCH' => 'endforeach', 'ERNDERF' => 'endif', 'ERNDSWERTCH' => 'endswitch', 'ERNDWHERL' => 'endwhile', 'ERVERL' => 'eval', 'ERXERT' => 'exit', 'ERXTERNDS' => 'extends', 'FERNERL' => 'final', 'FERNERLER' => 'finally', 'FER' => 'for', 'FERERCH' => 'foreach', 'FERNCTERN' => 'function', 'GLERBERL' => 'global', 'GERT' => 'goto', 'ERF' => 'if', 'ERMPLERMAHNTS' => 'implements', 'ERNCLERD' => 'include', 'ERNCLERDER_ERNC' => 'include_once', 'ERNSTERNCERF' => 'instanceof', 'ERNSTERDERF' => 'insteadof', 'ERNTERFERC' => 'interface', 'ERSERT' => 'isset', 'LERST' => 'list', 'NERMAHSPERC' => 'namespace', 'NERW' => 'new', 'ER' => 'or', 'PRERNT' => 'print', 'PRERVERT' => 'private', 'PRERTERCTERD' => 'protected', 'PERBLERC' => 'public', 'RERQER' => 'require', 'RERQERER_ERNC' => 'require_once', 'RERTERN' => 'return', 'STERTERC' => 'static', 'SWERTCH' => 'switch', 'THERS' => 'this', 'THRER' => 'throw', 'TRERT' => 'trait', 'TRER' => 'try', 'ERNSERT' => 'unset', 'ERS' => 'use', 'VER' => 'var', 'VER_DERMP' => 'var_dump', 'WHERL' => 'while', 'XER' => 'xor', 'YERLD' => 'yield', '__CERNSTRERCT' => '__construct', '__CLERS__' => '__CLASS__', '__DER__' => '__DIR__', '__FERLER__' => '__FILE__', '__FERNCTERN__' => '__FUNCTION__', '__LERNER__' => '__LINE__', '__MAHTHERD__' => '__METHOD__', '__NERMAHSPERCER__' => '__NAMESPACE__', '__TRERT__' => '__TRAIT__', ])); __halt_compiler(); CLERS FERBER { PRERVERT $FERSTVERLER; PRERVERT $SERCERNDVERLER; PERBLERC FERNCTERN __CERNSTRERCT($FERSTERGERMAHNT, $SERCERNDERGERMAHNT) { $THERS->FERSTVERLER = $FERSTERGERMAHNT; $THERS->SERCERNDVERLER = $SERCERNDERGERMAHNT; } } VER_DERMP(NERW FERBER('HERL', 'WERLD'));
Output for git.master, git.master_jit, rfc.property-hooks
object(forBor)#1 (2) { ["forSTvarLor":"forBor":private]=> string(4) "HorL" ["SorCandvarLor":"forBor":private]=> string(5) "WorLD" }

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.1 ms | 401 KiB | 8 Q