3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt = "Testando se essa pescaria é valida @ju1lio.leao, se não for aciona @alycianne. Importante deixar @mirian ciente. E a @simone.akemi de sobreaviso."; $pattern = "/@(?:[a-z0-9-]+\.)*[a-z0-9]+/"; preg_match_all($pattern, $txt, $matches); print_r($matches[0]);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => @ju1lio.leao [1] => @alycianne [2] => @mirian [3] => @simone.akemi )

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