3v4l.org

run code in 500+ PHP versions simultaneously
<?php $str = 'Lorem ipsum dolor sit amet, consectetur. Integer ac tempor 123456789, et semper arcu. Maecenas vitae enim sed tortor 980202301 venenatis commodo. Fusce tincidunt volutpat bibendum. Cras vehicula ligula at urna vestibulum condimentum. Praesent non blandit 45678910911, sed porta nulla. Phasellus eleifend, metus in consequat dictum, arcu nibh accumsan dolor, eget tristique eros massa et nisl. Anexo 4577 Phasellus congue consequat ante, nec nisi sed elit malesuada tempor.'; $pattern = '/(?<!\d)9\d{8}(?!\d)/'; if (preg_match_all($pattern, $str, $matches)){ print_r($matches[0]); }
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => 980202301 )

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:
51.02 ms | 1264 KiB | 4 Q