3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = '/(?:FooBar|(?:[0-9]{7}[0-9A-F]{8})+)/'; $str = 'FooBar,22801422CFE0F63 ,2280141C5EF0F63 ,22801402EFD0F63 ,2280138C5ED0F63 ,228024329897530 ,228023829877530'; preg_match_all($re, $str, $matches, PREG_SET_ORDER, 0); // Print the entire match result var_dump($matches);
Output for git.master, git.master_jit, rfc.property-hooks
array(7) { [0]=> array(1) { [0]=> string(6) "FooBar" } [1]=> array(1) { [0]=> string(15) "22801422CFE0F63" } [2]=> array(1) { [0]=> string(15) "2280141C5EF0F63" } [3]=> array(1) { [0]=> string(15) "22801402EFD0F63" } [4]=> array(1) { [0]=> string(15) "2280138C5ED0F63" } [5]=> array(1) { [0]=> string(15) "228024329897530" } [6]=> array(1) { [0]=> string(15) "228023829877530" } }

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