3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $id = 130756; $url = "http://www.votresite.com/livredor.php"; $param = unserialize(urldecode(stripslashes($_GET['param']))); $param[0] = $url; $param[1] = $id; $param = addslashes(urlencode(serialize($param))); var_dump($param);
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Undefined index: param in /in/6pTfj on line 5 string(106) "a%3A2%3A%7Bi%3A0%3Bs%3A37%3A%22http%3A%2F%2Fwww.votresite.com%2Flivredor.php%22%3Bi%3A1%3Bi%3A130756%3B%7D"
Output for 4.3.0 - 5.2.17
Notice: Undefined index: param in /in/6pTfj on line 5 string(106) "a%3A2%3A%7Bi%3A0%3Bs%3A37%3A%22http%3A%2F%2Fwww.votresite.com%2Flivredor.php%22%3Bi%3A1%3Bi%3A130756%3B%7D"