3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $url = '?lng=2&aguid=asdfasdf&site=asdf'; $url = null; $x = preg_split('/aguid\=/i', $url); var_dump($x); print "x:" . $x;
Output for 5.4.0 - 7.1.0
array(1) { [0]=> string(0) "" } Notice: Array to string conversion in /in/ft4kI on line 6 x:Array
Output for 4.3.0 - 5.3.29
array(1) { [0]=> string(0) "" } x:Array