3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace Parent { class Helper{} class Test{ /** * @var Helper */ $helper; public function __construnct() { $this->helper = new Helper(); } } } namespace Child { class Helper{} class Test extends \Parent\Test {} }
Output for 5.3.0 - 5.4.29
Fatal error: Cannot use 'Parent' as namespace name in /in/HfkLr on line 2
Process exited with code 255.