3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url = "www.youtube.com/watch?v=0EqINqnEa-Y"; $query = parse_url($url, PHP_URL_QUERY); parse_str($query, $array); echo $array['v'];
based on 1k95s
Output for 5.6.38 - 7.3.0rc3
0EqINqnEa-Y