3v4l.org

run code in 150+ 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 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
array(3) { ["scheme"]=> string(4) "http" ["host"]=> string(14) "ori-regform.ru" ["path"]=> string(12) "/ref/1885464" } 21
Output for hhvm-3.10.0

Process exited with code 153.