3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = 'http://dantri.com.vn/xin-chao.html?lang=vi&id=123'; var_dump(explode('?', $url, 2));
based on Ncm4A
Output for 5.3.19 - 7.2.0
Notice: Undefined variable: url in /in/6G6YP on line 5 array(1) { [0]=> string(0) "" }