3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace A; use C\E,B\D as P; function foo() { echo __NAMESPACE__;} class E{ function foo() { echo __NAMESPACE__;}} Sa=new P; $a\foo(); ?>
Output for 5.3.0 - 5.4.19
Fatal error: Cannot declare class A\E because the name is already in use in /in/YaOT8 on line 5
Process exited with code 255.