3v4l.org

run code in 300+ PHP versions simultaneously
<?php $prices = array( "Red Pants" => 20, "Black Hats" => 15); $items = "8 Red Pants, 2 Shirts, 6 Black Hats"; preg_match_all("/(?:(\d+) ([\w ])+,?)+/", $items, $matches); print_r($matches);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => Array ( [0] => 8 Red Pants, [1] => 2 Shirts, [2] => 6 Black Hats ) [1] => Array ( [0] => 8 [1] => 2 [2] => 6 ) [2] => Array ( [0] => s [1] => s [2] => s ) )

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:
55.01 ms | 401 KiB | 8 Q