3v4l.org

run code in 500+ PHP versions simultaneously
<?php $seats = "B7G12D9"; $pat = "/([A-Z]\d+)/"; preg_match_all($pat, $seats, $matches); $seatArray = $matches[0]; var_dump($seatArray);
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { [0]=> string(2) "B7" [1]=> string(3) "G12" [2]=> string(2) "D9" }

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:
38.62 ms | 1127 KiB | 4 Q