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 = str_cmp(App::fᴏo(), App::boom()); var_dump ($compare);
Output for git.master, git.master_jit, rfc.property-hooks
Baz Bar Bang Foo Boom Βoom Fatal error: Uncaught Error: Call to undefined function str_cmp() in /in/T6Us1:37 Stack trace: #0 {main} thrown in /in/T6Us1 on line 37
Process exited with code 255.

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