3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php preg_match_all("[^>]+</[^>]+>|U", "<b>example: </b><div align=left>this is a test</div>", $out, PREG_PATTERN_ORDER); echo $out[0][0].", ".$out[0][1]."\n"; echo $out[1][0].", ".$out[1][1]."\n"; ?>
Output for 5.2.3 - 7.1.0
Warning: preg_match_all(): Unknown modifier '+' in /in/h2QYd on line 4 , ,
Output for 4.4.3 - 5.2.2
<br /> <b>Warning</b>: preg_match_all() [<a href='function.preg-match-all'>function.preg-match-all</a>]: Unknown modifier '+' in <b>/in/h2QYd</b> on line <b>4</b><br /> , ,
Output for 4.3.11 - 4.4.2
<br /> <b>Warning</b>: preg_match_all(): Unknown modifier '+' in <b>/in/h2QYd</b> on line <b>4</b><br /> , ,
Output for 4.3.0 - 4.3.10
<br /> <b>Warning</b>: Unknown modifier '+' in <b>/in/h2QYd</b> on line <b>4</b><br /> , ,