3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Αpp { public static function fᴏᴏ () { echo "Foo"; } public static function foo () { echo "Bar"; } } class App { public static function foo () { echo "Baz"; } public static function fᴏᴏ () { echo "Bang"; } public static function fᴏo () { echo "Boom"; } public static function boom () { echo "Βoom"; } } App::foo(); echo "\n"; Αpp::foo(); echo "\n"; App::fᴏᴏ(); echo "\n"; Αpp::fᴏᴏ(); echo "\n"; echo "\n"; echo "\n"; App::fᴏo(); echo "\n"; App::boom(); $compare = App::fᴏo() == App::boom(); var_dump ($compare);
Output for git.master, git.master_jit, rfc.property-hooks
Baz Bar Bang Foo Boom ΒoomBoomΒoombool(true)

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:
24.25 ms | 401 KiB | 8 Q