3v4l.org

run code in 300+ PHP versions simultaneously
<?php $strings = [ "Time: 10:40 Request: page.php Action: whatever this is Refer: Facebook", "Action: This Example BB: Bla bla Request: 555" ]; foreach ($strings as $string) { print_r(preg_split('/\S+:\h+.*?(?=\h+\S+:)\K\h+/', $string)); }
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => Time: 10:40 [1] => Request: page.php [2] => Action: whatever this is [3] => Refer: Facebook ) Array ( [0] => Action: This Example [1] => BB: Bla bla [2] => Request: 555 )

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:
173.74 ms | 406 KiB | 5 Q