3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $pat="|<img.?src=\'\"[\'\"].?>|i"; $content="<img src=\"a\"></img><img src=\"b\"></img>"; preg_match_all($pat, $content, $images); var_dump($images);
Output for 4.3.0 - 7.1.0
array(1) { [0]=> array(0) { } }