3v4l.org

run code in 500+ PHP versions simultaneously
<?php $token = (object) ['data' => ['<?php echo $_GET[“backUrl”];?>']]; $bits = preg_split( '/\\b((?:[a-z][\\w\\-]+:(?:\\/{1,3}|[a-z0-9%])|www\\d{0,3}[.]|[a-z0-9.\\-]+[.][a-z]{2,4}\\/)(?:[^\\s()<>]|\\((?:[^\\s()<>]|(?:\\([^\\s()<>]+\\)))*\\))+(?:\\((?:[^\\s()<>]|(?:\\([^\\s()<>]+\\)))*\\)|[^\\s`!()\\[\\]{};:\'".,<>?\x{00ab}\x{00bb}\x{201c}\x{201d}\x{2018}\x{2019}]))/iu', $token->data, -1, PREG_SPLIT_DELIM_CAPTURE); $token = array(); // $i = index // $c = count // $l = is link for ($i = 0, $c = count($bits), $l = false; $i < $c; $i++, $l = !$l) { }
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught TypeError: preg_split(): Argument #2 ($subject) must be of type string, array given in /in/daRFo:5 Stack trace: #0 /in/daRFo(5): preg_split('/\\b((?:[a-z][\\w...', Array, -1, 2) #1 {main} thrown in /in/daRFo on line 5
Process exited with code 255.

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:
61.55 ms | 1405 KiB | 4 Q