3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url_base = 'http://m.kenhdulich.org?lang=vi&id=11'; $url_base = str_replace('m.', '', $url_base); $url_base = reset((explode('?', $url))); echo $url_base;
based on lpoNE
Output for 7.0.0 - 7.2.0
Notice: Undefined variable: url in /in/FYpiH on line 4 Notice: Only variables should be passed by reference in /in/FYpiH on line 4
Output for 5.3.19 - 5.6.28
Notice: Undefined variable: url in /in/FYpiH on line 4