3v4l.org

run code in 300+ PHP versions simultaneously
<?php $query = $_SERVER['QUERY_STRING']; $basicurl = 'ABC://'; $separator = (parse_url($basicurl, PHP_URL_QUERY) == NULL) ? '?' : '&'; $finalurl .= $separator . $query; header('Location: '.$finalurl);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined array key "QUERY_STRING" in /in/4mFo4 on line 3 Warning: Undefined variable $finalurl in /in/4mFo4 on line 8 Warning: Cannot modify header information - headers already sent by (output started at /in/4mFo4:3) in /in/4mFo4 on line 10

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