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