3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = 'Me, my dog and “myself“ are going on a vacation. Irene and myself are broke. Myself is here :P John and myself!'; if (preg_match_all('/(?:\S+\s+){0,2}\p{P}?myself\p{P}?(?:\s+\S+){0,2}/u', $text, $result)) { print_r($result[0]); }
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => dog and “myself“ are going [1] => Irene and myself are broke. [2] => John and myself! )

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