3v4l.org

run code in 300+ PHP versions simultaneously
<?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+)"~', $string, $file_ids, $string); var_dump($file_ids);
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught TypeError: preg_match_all(): Argument #4 ($flags) must be of type int, string given in /in/U1C8o:5 Stack trace: #0 /in/U1C8o(5): preg_match_all('~src="/index\\.p...', '<img src="/inde...', Array, '<img src="/inde...') #1 {main} thrown in /in/U1C8o on line 5
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
34.02 ms | 401 KiB | 8 Q