3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?phprcestring=">"; preg_match_all('/<img>()<\/img>/',$sourcestring,$matches); print_r($matches); foreach($matches as $deselect){ foreach ($deselect as $display){ echo $display."<br />"; } }
Output for 5.3.0 - 5.4.32
<?phprcestring=">"; preg_match_all('/<img>()<\/img>/',$sourcestring,$matches); print_r($matches); foreach($matches as $deselect){ foreach ($deselect as $display){ echo $display."<br />"; } }