3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace { use Exception; } namespace { use \Exception; }
Output for 5.5.25 - 5.5.35, 5.6.9 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.12 - 7.3.24, 7.4.0 - 7.4.13, 8.0.0
Warning: The use statement with non-compound name 'Exception' has no effect in /in/SCXWd on line 3 Warning: The use statement with non-compound name 'Exception' has no effect in /in/SCXWd on line 6
Output for 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.24, 5.6.0 - 5.6.8
Warning: The use statement with non-compound name 'Exception' has no effect in /in/SCXWd on line 3