3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A { final private function __construct() {} } class B extends A { public function __construct() {} } $a = new B(); var_dump($a);
Output for 5.3.0 - 5.5.0
Fatal error: Cannot override final method A::__construct() in /in/rsZYK on line 11
Process exited with code 255.