3v4l.org

run code in 300+ PHP versions simultaneously
<?php use Foo; use FooA; use FooB; use FooC; use FooD as D; use FooE; use FooF; use FooG as G; use FooH; use FooI; use FooJ; use FooZ; namespace Boo { use Bar; use BarA; use BarB; use BarC; use BarD as D; use BarE; use BarF; use BarG as G; use BarH; use BarI; use BarJ; use BarZ; } ?> use Some, Not, PHP, Like, Use, Statement;
Output for 7.0.0 - 7.0.1
Warning: The use statement with non-compound name 'Foo' has no effect in /in/EJ33Q on line 2 Warning: The use statement with non-compound name 'FooA' has no effect in /in/EJ33Q on line 3 Warning: The use statement with non-compound name 'FooB' has no effect in /in/EJ33Q on line 4 Warning: The use statement with non-compound name 'FooC' has no effect in /in/EJ33Q on line 5 Warning: The use statement with non-compound name 'FooE' has no effect in /in/EJ33Q on line 7 Warning: The use statement with non-compound name 'FooF' has no effect in /in/EJ33Q on line 8 Warning: The use statement with non-compound name 'FooH' has no effect in /in/EJ33Q on line 10 Warning: The use statement with non-compound name 'FooI' has no effect in /in/EJ33Q on line 11 Warning: The use statement with non-compound name 'FooJ' has no effect in /in/EJ33Q on line 12 Warning: The use statement with non-compound name 'FooZ' has no effect in /in/EJ33Q on line 13 Fatal error: No code may exist outside of namespace {} in /in/EJ33Q on line 29
Process exited with code 255.
Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.16
Warning: The use statement with non-compound name 'Foo' has no effect in /in/EJ33Q on line 2 Warning: The use statement with non-compound name 'FooA' has no effect in /in/EJ33Q on line 3 Warning: The use statement with non-compound name 'FooB' has no effect in /in/EJ33Q on line 4 Warning: The use statement with non-compound name 'FooC' has no effect in /in/EJ33Q on line 5 Warning: The use statement with non-compound name 'FooE' has no effect in /in/EJ33Q on line 7 Warning: The use statement with non-compound name 'FooF' has no effect in /in/EJ33Q on line 8 Warning: The use statement with non-compound name 'FooH' has no effect in /in/EJ33Q on line 10 Warning: The use statement with non-compound name 'FooI' has no effect in /in/EJ33Q on line 11 Warning: The use statement with non-compound name 'FooJ' has no effect in /in/EJ33Q on line 12 Warning: The use statement with non-compound name 'FooZ' has no effect in /in/EJ33Q on line 13 Fatal error: No code may exist outside of namespace {} in /in/EJ33Q on line 28
Process exited with code 255.

preferences:
161.96 ms | 1396 KiB | 25 Q