3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $h = 'http://ori-regform.ru/ref/1885464'; $d = parse_url($h); var_dump($d); echo strpos($h,'/ref/');
Output for 4.3.0 - 7.2.0
array(3) { ["scheme"]=> string(4) "http" ["host"]=> string(14) "ori-regform.ru" ["path"]=> string(12) "/ref/1885464" } 21