3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "ABC" unset($string[1]);
Output for 5.4.1 - 5.4.45, 5.5.24 - 5.5.29, 5.6.8 - 5.6.13
Parse error: syntax error, unexpected 'unset' (T_UNSET) in /in/8AQIb on line 3
Process exited with code 255.

preferences:
205.37 ms | 1395 KiB | 63 Q