3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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);
based on buQ7Y
Output for 7.0.0 - 7.2.0
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.
Output for 5.3.19 - 5.6.28
Baz Bar Bang Foo Boom Βoom Fatal error: Call to undefined function str_cmp() in /in/T6Us1 on line 37
Process exited with code 255.