3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "# (1296) {20} [529] [1496] [411]\n# (MONDAY ) (1296)\n# (646) {20} (BEACH 7) [20 Mtrs] { 03 Foot }\n# {19} [455] [721] (1296) (SUNDAY ) [2741] (MONDAY (WEDNESDAY {20}\n# {19} (1296)"; if (preg_match_all('~^#|(?:(\[)|(\()|{)\d+(?(1)]|(?(2)\)|}))~m', $s, $m)) { echo preg_replace_callback('~^(#)\s*|#\s*~', function($m) { return isset($m[1]) ? "#" : "\n#"; }, implode(" ", $m[0])); }
Output for git.master, git.master_jit, rfc.property-hooks
#(1296) {20} [529] [1496] [411] #(1296) #(646) {20} #{19} [455] [721] (1296) [2741] {20} #{19} (1296)

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