3v4l.org

run code in 300+ PHP versions simultaneously
<?php $line = "Type:Bid, End Time: 12/20/2018 08:10 AM (PST), Price: $8,000,Bids: 14, Age: 0, Description: , Views: 120270, Valuation: $10,75, IsTrue: false"; var_export(preg_match_all('/[^:]+:\s*\K.*?(?=\s*(?:$|,[^,:]+:))/', $line, $out) ? $out[0] : []);
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => 'Bid', 1 => '12/20/2018 08:10 AM (PST)', 2 => '$8,000', 3 => '14', 4 => '0', 5 => '', 6 => '120270', 7 => '$10,75', 8 => 'false', )

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.06 ms | 405 KiB | 5 Q