3v4l.org

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