3v4l.org

run code in 300+ PHP versions simultaneously
<?php print "omg"; $parts = parse_url("http://134744072\x00@1.2.3.4/btc.txt"); print "meh"; print_r($parts); print "wah"; $hosts = gethostbynamel($parts['host']); print_r($hosts); echo bin2hex($parts["user"); print "wtf"; ?>
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.28
Parse error: syntax error, unexpected ')', expecting ']' in /in/Jo3RT on line 10
Process exited with code 255.

preferences:
177.92 ms | 1395 KiB | 65 Q