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:
171.25 ms | 1395 KiB | 25 Q