3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data = "http://www.stud100-spray.com/nieuw/gezond-leven.html#%21dir=asc&order=price"; $whatIWant = substr($data, strpos("dir") +1); echo $whatIWant; ?>
based on 5jdcm
Output for 5.3.0 - 7.1.0
Warning: strpos() expects at least 2 parameters, 1 given in /in/nBWPN on line 3 ttp://www.stud100-spray.com/nieuw/gezond-leven.html#%21dir=asc&order=price
Output for 4.3.0 - 5.2.17
Warning: Wrong parameter count for strpos() in /in/nBWPN on line 3 ttp://www.stud100-spray.com/nieuw/gezond-leven.html#%21dir=asc&order=price