3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class abc{ private $a; private $b; function add($a,$b); { $c=$a+$b; echo $c; } }
Output for 5.3.0 - 5.4.11
Fatal error: Non-abstract method abc::add() must contain body in /in/Z1qhn on line 6
Process exited with code 255.