3v4l.org

run code in 300+ PHP versions simultaneously
<?php ${"\0"} = 1; echo ${"\0"}; echo "${\0}";
Output for 7.2.0 - 7.2.33, 7.3.0 - 7.3.21, 7.4.0 - 7.4.9
Parse error: syntax error, unexpected '0' (T_LNUMBER), expecting identifier (T_STRING) in /in/53iIE on line 5
Process exited with code 255.

preferences:
160.11 ms | 998 KiB | 7 Q