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 static abstract function bullshit(); } class ConfusedBullshit extends ConfusingClass { private static function bullshit() { return true; } }
Output for 5.4.18
Strict Standards: Static function ConfusingClass::bullshit() should not be abstract in /in/966eH on line 13 Fatal error: Abstract function ConfusingClass::bullshit() cannot be declared private in /in/966eH on line 13
Process exited with code 255.
Output for 5.3.0 - 5.4.17
Strict Standards: Static function ConfusingClass::bullshit() should not be abstract in /in/IgIUK on line 13 Fatal error: Abstract function ConfusingClass::bullshit() cannot be declared private in /in/IgIUK on line 13
Process exited with code 255.