3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Url = "https://play.google.com/store/apps/details?id=com.zing.zalo&hl=en"; preg_match("/[^?]+(?:\?id=([^&]+).*)?/", "$Url", $matches); echo $matches[1]; //com.zing.zalo

preferences:
56.6 ms | 402 KiB | 5 Q