3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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 4.3.0 - 7.1.0
array(3) { [0]=> array(0) { } [1]=> array(0) { } [2]=> array(0) { } }