3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = 'http://dantri.com.vn/xin-chao.html?lang=vi&id=123'; var_dump(explode('?', $url, 2));

preferences:
59.18 ms | 402 KiB | 5 Q