3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = function () use ($this) { };
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.6
Fatal error: Cannot use $this as lexical variable in /in/GVsBY on line 3
Process exited with code 255.

preferences:
159.19 ms | 1399 KiB | 35 Q