3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php namespace includ\views{ interface IView { public function getContenido( ); public function imprimirContenido( ); } } namespace includ\views{ use includ\views\IView as IView; interface IMenu extends IView { public function getTipo(); public function __clone(); } } namespace includ\views{ use includ\views\IMenu; class MenuAdministrador implements IMenu { } }
Output for 7.0.0 - 7.3.0rc4
Fatal error: Class includ\views\MenuAdministrador contains 4 abstract methods and must therefore be declared abstract or implement the remaining methods (includ\views\IMenu::getTipo, includ\views\IMenu::__clone, includ\views\IView::getContenido, ...) in /in/GbnGg on line 26
Process exited with code 255.
Output for hhvm-3.21.3 - 3.22.0
Fatal error: Uncaught Error: Class includ\views\MenuAdministrador contains abstract method (getTipo) and must therefore be declared abstract or implement the remaining methods in /in/GbnGg:-1 Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.11.1 - 3.21.0
Fatal error: Uncaught Error: Class includ\views\MenuAdministrador contains abstract method (getTipo) and must therefore be declared abstract or implement the remaining methods in /in/GbnGg:26 Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.10.1
Fatal error: Class includ\views\MenuAdministrador contains abstract method (getTipo) and must therefore be declared abstract or implement the remaining methods in /in/GbnGg on line 26
Process exited with code 255.
Output for 5.3.0 - 5.6.38
Fatal error: Class includ\views\MenuAdministrador contains 4 abstract methods and must therefore be declared abstract or implement the remaining methods (includ\views\IMenu::getTipo, includ\views\IMenu::__clone, includ\views\IView::getContenido, ...) in /in/GbnGg on line 29
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.17
Parse error: syntax error, unexpected T_STRING in /in/GbnGg on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_STRING in /in/GbnGg on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/GbnGg on line 2
Process exited with code 255.