3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace a { $a = []; if(\isset($a['a'])) { echo 'asd'; } }
Output for 8.1.23 - 8.1.27, 8.2.10 - 8.2.17, 8.3.0 - 8.3.4
Fatal error: Uncaught Error: Call to undefined function isset() in /in/WLX2e:7 Stack trace: #0 {main} thrown in /in/WLX2e on line 7
Process exited with code 255.
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.6
Parse error: syntax error, unexpected 'isset' (T_ISSET), expecting identifier (T_STRING) in /in/WLX2e on line 7
Process exited with code 255.

preferences:
79.35 ms | 401 KiB | 51 Q