3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = <<<EOT <p><b>There are currently five entries in the London Borough of Barking &amp; Dagenham (LBBD):</b></p> <p>My string 1<br> My another string<br> And this is also my string<br></p> <p><i>Some text over here</i></p> EOT; preg_match_all("/(<p>)?(.+))<br>/", $html, $matches); print_r($matches);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: preg_match_all(): Compilation failed: unmatched closing parenthesis at offset 10 in /in/EL6S8 on line 11

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:
36.1 ms | 401 KiB | 8 Q