3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '00:18:71:EC:38:58/072b8d45-895d-4d9d-9adb-e1502d6821d9.xml'; preg_match('/^(([0-9A-F]{2}[:-]){5}[0-9A-F]{2})+[\/]+([0-9a-z-]+[.]+[a-z]{3})$/', $str, $match); var_dump($match);
Output for git.master, git.master_jit, rfc.property-hooks
array(4) { [0]=> string(58) "00:18:71:EC:38:58/072b8d45-895d-4d9d-9adb-e1502d6821d9.xml" [1]=> string(17) "00:18:71:EC:38:58" [2]=> string(3) "38:" [3]=> string(40) "072b8d45-895d-4d9d-9adb-e1502d6821d9.xml" }

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:
36.8 ms | 401 KiB | 8 Q