3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! bstract class A{ private function bobo(array $in){ //do something } } class B extends A{ private function bobo($shmoo,$shmaa){ //do something } }
Output for 5.4.0 - 5.4.17
Parse error: syntax error, unexpected 'class' (T_CLASS) in /in/adVi2 on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_CLASS in /in/adVi2 on line 4
Process exited with code 255.

preferences:
186.57 ms | 1395 KiB | 53 Q