3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = <<<'EOD' [2017-03-14 11:48:22] Steve T: Hi! [2017-03-14 11:49:01] Oscar: Hi! :D How are u doin? [2017-03-14 11:50:24] Steve T: Im doing great :P EOD; $handle = fopen("data://text/plain,$str", 'r'); while ( false !== $line = fgets($handle) ) { print_r(sscanf($line, '[%[^]]] %[^:]: %[^\]')); }
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => 2017-03-14 11:48:22 [1] => Steve T [2] => Hi! ) Array ( [0] => 2017-03-14 11:49:01 [1] => Oscar [2] => Hi! :D How are u doin? ) Array ( [0] => 2017-03-14 11:50:24 [1] => Steve T [2] => Im doing great :P )

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