3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = www.domain.com/blog?date[]=thedate&date[]=thesnddate&title=sometitle; $get = explode("?", $str); $get = $get[1]; echo $get;
based on o3mrK
Output for 7.0.0
Parse error: syntax error, unexpected '=' in /in/sDipX on line 3
Process exited with code 255.
Output for 5.6.8 - 5.6.16
Fatal error: Cannot use [] for reading in /in/sDipX on line 3
Process exited with code 255.
Output for 5.3.20 - 5.5.30
Parse error: syntax error, unexpected '[' in /in/sDipX on line 3
Process exited with code 255.