3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $url = 'http://www.stud100-spray.com/nieuw/gezond-leven.html#%21dir=desc&order=price'; $parts = parse_url($url); parse_str($parts['query'], $query); echo $query['order']; ?>
based on 8p7Kg
Output for 5.3.0 - 7.1.0
Notice: Undefined index: query in /in/EFC36 on line 4 Notice: Undefined index: order in /in/EFC36 on line 5
Output for 4.3.0 - 5.2.17
Notice: Undefined index: query in /in/EFC36 on line 4 Notice: Undefined index: order in /in/EFC36 on line 5