3v4l.org

run code in 300+ PHP versions simultaneously
<?php $lineContent = "<00:01:13.650><c> time</c><00:01:13.920><c> and</c> <00:01:14.780><c> that's</c><00:01:15.780><c> what</c>"; if (preg_match_all('~<(?<time>\d{2}:\d{2}:\d{2}\.\d+)><c>\s*(?<text>.*?)</c>~', $lineContent, $allintag)) { print_r($allintag["time"]); echo "\n"; print_r($allintag["text"]); }
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => 00:01:13.650 [1] => 00:01:13.920 [2] => 00:01:14.780 [3] => 00:01:15.780 ) Array ( [0] => time [1] => and [2] => that's [3] => what )

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:
158.39 ms | 405 KiB | 5 Q