3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a =parse_url('http://clipr.in/output/product.php?id=24787'); var_dump($a); $a['query']="b"; $b = http_build_query($a); echo $parsedurl['scheme']."://".$parsedurl['host']."".$parsedurl['path']."?".$parsedurl['query']; ?>
Output for git.master, git.master_jit
array(4) { ["scheme"]=> string(4) "http" ["host"]=> string(8) "clipr.in" ["path"]=> string(19) "/output/product.php" ["query"]=> string(8) "id=24787" } Warning: Undefined variable $parsedurl in /in/JkKCh on line 6 Warning: Trying to access array offset on value of type null in /in/JkKCh on line 6 Warning: Undefined variable $parsedurl in /in/JkKCh on line 6 Warning: Trying to access array offset on value of type null in /in/JkKCh on line 6 Warning: Undefined variable $parsedurl in /in/JkKCh on line 6 Warning: Trying to access array offset on value of type null in /in/JkKCh on line 6 Warning: Undefined variable $parsedurl in /in/JkKCh on line 6 Warning: Trying to access array offset on value of type null in /in/JkKCh on line 6 ://?
Output for rfc.property-hooks
array(4) { ["scheme"]=> string(4) "http" ["host"]=> string(8) "clipr.in" ["path"]=> string(19) "/output/product.php" ["query"]=> string(8) "id=24787" } Warning: Undefined variable $parsedurl in /in/JkKCh on line 6 Warning: Trying to access array offset on null in /in/JkKCh on line 6 Warning: Undefined variable $parsedurl in /in/JkKCh on line 6 Warning: Trying to access array offset on null in /in/JkKCh on line 6 Warning: Undefined variable $parsedurl in /in/JkKCh on line 6 Warning: Trying to access array offset on null in /in/JkKCh on line 6 Warning: Undefined variable $parsedurl in /in/JkKCh on line 6 Warning: Trying to access array offset on null in /in/JkKCh on line 6 ://?

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:
37.92 ms | 402 KiB | 8 Q