3v4l.org

run code in 300+ PHP versions simultaneously
<?php function($foo) use($foo) { };
Output for 7.1.0 - 7.1.1
Fatal error: Cannot use lexical variable $foo as a parameter name in /in/LiPQ4 on line 3
Process exited with code 255.
Output for 7.0.0 - 7.0.15
Notice: Undefined variable: foo in /in/LiPQ4 on line 3

preferences:
151.19 ms | 996 KiB | 7 Q