3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = '<img src="/index.php/tools/packages/bullseye/file_display.php?htmlpage=&amp;fID=300" />'; $file_ids = array(); $html = preg_match_all('~src="/index\.php/tools/packages/bullseye/file_display\.php\?htmlpage=&amp;fID=(\d+)"~', $file_ids, $string); var_dump($file_ids);
Output for 4.3.3 - 7.1.0
Warning: preg_match_all() expects parameter 2 to be string, array given in /in/GkEns on line 5 array(0) { }
Output for 4.3.0 - 4.3.2
Notice: Array to string conversion in /in/GkEns on line 5 array(0) { }