3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "https://lh4.googleusercontent.com/-vi8qjz0rz4o/AAAAAAAAAAI/AAAAAAAAaz4/vTzzYBQSL5M/photo.jpg?sz=200"; $parsedUrl = parse_url($url); if ($parsedUrl !== false && is_array($parsedUrl)) { unset($parsedUrl['query']); unset($parsedUrl['fragment']); $url = implode('', $parsedUrl); } var_dump($url);
Output for git.master, git.master_jit, rfc.property-hooks
string(89) "httpslh4.googleusercontent.com/-vi8qjz0rz4o/AAAAAAAAAAI/AAAAAAAAaz4/vTzzYBQSL5M/photo.jpg"

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
36 ms | 401 KiB | 8 Q