3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace HHVM\UserDocumentation\Inconsistencies\Intro\Examples\Call; class B { } class G extends B { function __call($name, $arguments) { var_dump('G');} function f4missing($a) { B::f4missing(5); // __call checking happened at B var_dump('sumting wong'); } } $g = new G(); $g->f4missing(3);
Output for 7.0.0 - 7.0.32, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.19, 8.3.0 - 8.3.7
Fatal error: Uncaught Error: Call to undefined method HHVM\UserDocumentation\Inconsistencies\Intro\Examples\Call\B::f4missing() in /in/U7Vea:10 Stack trace: #0 /in/U7Vea(15): HHVM\UserDocumentation\Inconsistencies\Intro\Examples\Call\G->f4missing(3) #1 {main} thrown in /in/U7Vea on line 10
Process exited with code 255.
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.38
Fatal error: Call to undefined method HHVM\UserDocumentation\Inconsistencies\Intro\Examples\Call\B::f4missing() in /in/U7Vea on line 10
Process exited with code 255.

preferences:
217.31 ms | 402 KiB | 326 Q