run code in 200+ PHP versions simultaneously
<?php abstract class A { abstract public function createApp(); } class B extends A { public static function createApp() { echo "You should not be here\n"; } } (new B)->createApp();
based on WgSfr
Output for 7.1.25 - 7.3.11
Fatal error: Cannot make non static method A::createApp() static in class B in /in/it0Se on line 14
Process exited with code 255.