3v4l.org

run code in 500+ PHP versions simultaneously
<?php $str = 'GuiPrinter.ProcessPrint of 116806 25374 K356 S Black Face.png 229 at 1 table'; $re = '/GuiPrinter\.ProcessPrint of \K.*?\.(?:gif|png|bmp|jpe?g)\b/'; function findMatch($message, $regex) { preg_match($regex, $message, $matches); return array_shift($matches); } $result = findMatch($str, $re); if ($result) { echo "Found: $result"; } else { echo "No match."; }
Output for git.master_jit, git.master, rfc.property-hooks
Found: 116806 25374 K356 S Black Face.png

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:
47.94 ms | 1421 KiB | 4 Q