3v4l.org

run code in 300+ PHP versions simultaneously
<?php $searchLiterals = array("HALLO hallo Hallo","Hello asfddgf","h+o+la","H-OLA","sdf.adf","asfd+asdf-asdf.asdf asdf/dsf"); foreach($searchLiterals as $searchLiteral){ $split = split(" ", $searchLiteral); $preg = preg_split(" ", $searchLiteral); $str = str_split(" ", $searchLiteral); echo ($preg === $split)."\n"; echo $preg."\t".$split."\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function split() in /in/7bpm7:7 Stack trace: #0 {main} thrown in /in/7bpm7 on line 7
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:
31.24 ms | 401 KiB | 8 Q