3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php abstract class ConfusingClass{ /** * Private property */ private $property = 'fucking stupid'; /** * Why does this keep happening? * * @bullshit true */ private abstract function bullshit(); } class ConfusedBullshit extends ConfusingClass { private function bullshit() { return true; } }
Output for 5.3.0 - 5.5.2
Fatal error: Abstract function ConfusingClass::bullshit() cannot be declared private in /in/2b1Sm on line 13
Process exited with code 255.