3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = <<<HTML <FONT FACE="League" SIZE="15" COLOR="#000000"><font COLOR="#ff00ff" SIZE="18"><b><font SIZE="23"><font SIZE="27"><font SIZE="23"><font SIZE="18"><font SIZE="23">Moet Flip make-up dragen? <br />Stem mee in de poll!!</font></font></font></font></font></b></font><br /></FONT> HTML; preg_match_all('/color\s*=\s*([\'"]?)#([0-9a-f]+)\1/i', $str, $matches); var_dump($matches);
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { [0]=> array(2) { [0]=> string(15) "COLOR="#000000"" [1]=> string(15) "COLOR="#ff00ff"" } [1]=> array(2) { [0]=> string(1) """ [1]=> string(1) """ } [2]=> array(2) { [0]=> string(6) "000000" [1]=> string(6) "ff00ff" } }

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