3v4l.org

run code in 300+ PHP versions simultaneously
<?php function parseCss($rawText) { $matches = array(); $selections = preg_match_all('/\/\* customize_(.+?) \*\/(.+?)\/\* customize_\1 \*\//m',$rawText,$matches); print_R($matches); } parseCss(' #page #header #logo a { /* customize_header_logo */ color: #ffffff; /* customize_header_logo */ /* customize_header_logo_text */ font: normal bold 32px Arial; /* customize_header_logo_text */ text-decoration:none; }');
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => Array ( [0] => /* customize_header_logo */ color: #ffffff; /* customize_header_logo */ [1] => /* customize_header_logo_text */ font: normal bold 32px Arial; /* customize_header_logo_text */ ) [1] => Array ( [0] => header_logo [1] => header_logo_text ) [2] => Array ( [0] => color: #ffffff; [1] => font: normal bold 32px Arial; ) )

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:
39.88 ms | 402 KiB | 8 Q