3v4l.org

run code in 300+ PHP versions simultaneously
<?php use \ as foo; echo "namespace:".__NAMESPACE__."\n";
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.7
Parse error: syntax error, unexpected 'as' (T_AS), expecting identifier (T_STRING) in /in/Uil2T on line 3
Process exited with code 255.

preferences:
166.59 ms | 1399 KiB | 36 Q