3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '<li data-type="mentionable" data-id="2">bla bla... <li data-type="mentionable" data-id="812">some test <li>bla bla </li>more text <li data-type="mentionable" data-id="282">'; preg_match_all("/data-id=\"(\d+)\"/", $str, $matches); print_r($matches[1]);
Output for git.master_jit, git.master, rfc.property-hooks
Array ( [0] => 2 [1] => 812 [2] => 282 )

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:
26.02 ms | 405 KiB | 5 Q