3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = '~ ^ [^\pL\r\n]* (?=\p{Latin}) (*asr: .+ ) $ ~mux'; $str = ' # good alpha + beta = gamma LHOOQ 13.70€ Gruvrået .... oeuärē a aaà 2323442 üúôÆaaë # uglу <-- the "у" character is U+0443 CYRILLIC SMALL LETTER U (even if it\'s looks like the ASCII "y") delta Δ Дмитрий Дмитриевич Шостакович طاهر بن جلون'; preg_match_all($re, $str, $matches, PREG_SET_ORDER); // Print the entire match result print_r(array_merge(...$matches));
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => # good [1] => alpha + beta = gamma [2] => LHOOQ [3] => Gruvrået [4] => oeuärē [5] => a aaà [6] => üúôÆaaë )

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