3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "/person/find/LAST_NAME/contains/kins/FIRST_NAME/contains/j/ONLINEONLY/contains/0" $v = array_filter(explode('/',$s)) ; var_dump($v);
Output for 5.4.0 - 5.4.29
Parse error: syntax error, unexpected '$v' (T_VARIABLE) in /in/LvLl7 on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_VARIABLE in /in/LvLl7 on line 4
Process exited with code 255.

preferences:
194.83 ms | 1395 KiB | 66 Q