3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = <<< END sjbasukbgksdyugaksdfygkasgkasgbaksbgkxbcmahsbg;adfhblzsuglu01 02 03 04 05 06 07 08 09 10 11 12 13 14suighsuighsdasjdgb ahioguhaughauisdfghiuhab ba 1a 2f 3c 2a 1d 35 32 12 34 78 90 11aklsughaiugaiougdfh rguh00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 END; preg_match_all('/(([a-f0-9]{2} ){27}|([a-f0-9]{2} ){13})[a-f0-9]{2}/i', $input, $matches); var_dump($matches);
Output for git.master, git.master_jit, rfc.property-hooks
array(4) { [0]=> array(3) { [0]=> string(41) "01 02 03 04 05 06 07 08 09 10 11 12 13 14" [1]=> string(41) "ab ba 1a 2f 3c 2a 1d 35 32 12 34 78 90 11" [2]=> string(83) "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00" } [1]=> array(3) { [0]=> string(39) "01 02 03 04 05 06 07 08 09 10 11 12 13 " [1]=> string(39) "ab ba 1a 2f 3c 2a 1d 35 32 12 34 78 90 " [2]=> string(81) "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 " } [2]=> array(3) { [0]=> string(0) "" [1]=> string(0) "" [2]=> string(3) "00 " } [3]=> array(3) { [0]=> string(3) "13 " [1]=> string(3) "90 " [2]=> string(0) "" } }

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:
42.73 ms | 402 KiB | 8 Q