3v4l.org

run code in 300+ PHP versions simultaneously
<?php function edit_distance_ond($str1 ,$str2){ $array = array(); $x; $y; $offset = count($str1); array[$offset + 1] = 0; } ?>
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.28
Parse error: syntax error, unexpected '[', expecting '(' in /in/4Zfkr on line 7
Process exited with code 255.

preferences:
181.85 ms | 1395 KiB | 65 Q