3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "lorem ispmes dolter yexy tesy 201812321910AT l tesyui lorem ispmes dolter gjexy tesy 201812321810AT hekfl lorem tesxts 201812321910AT-001 lot kyesu oerd 201812321910AT-001 lfs tes ol sghn"; preg_match_all("/(\d{12}AT.*?)\s/", $str, $matches); var_dump($matches);
Output for git.master, git.master_jit, rfc.property-hooks
array(2) { [0]=> array(4) { [0]=> string(15) "201812321910AT " [1]=> string(15) "201812321810AT " [2]=> string(19) "201812321910AT-001 " [3]=> string(19) "201812321910AT-001 " } [1]=> array(4) { [0]=> string(14) "201812321910AT" [1]=> string(14) "201812321810AT" [2]=> string(18) "201812321910AT-001" [3]=> string(18) "201812321910AT-001" } }

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:
188.28 ms | 406 KiB | 5 Q