3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php abstract class Window { public function open(); public function close(); } class XWindow extends Window { public function open() { echo 'open'; } public function close() { echo 'close'; } }
Output for 5.3.0 - 5.4.14
Fatal error: Non-abstract method Window::open() must contain body in /in/V9uI2 on line 4
Process exited with code 255.