3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "helloworld"; echo isset($str['f']['f']) 1 : 0;
Output for 5.4.0 - 5.4.28
Parse error: syntax error, unexpected '1' (T_LNUMBER), expecting ',' or ';' in /in/s3TbT on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_LNUMBER, expecting ',' or ';' in /in/s3TbT on line 4
Process exited with code 255.

preferences:
181.7 ms | 1395 KiB | 65 Q