3v4l.org

run code in 300+ PHP versions simultaneously
<?php $strings = [ 'F7998FM3213/02F', 'J442554NM/05', 'K439459845/34D', 'FOO007/1A2B3CD45EFG6', ]; var_export( preg_replace( '#(?:[^/]*/|\G(?!^))\d*\K\D+#', '', $strings ) );
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => 'F7998FM3213/02', 1 => 'J442554NM/05', 2 => 'K439459845/34', 3 => 'FOO007/123456', )

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:
48.72 ms | 405 KiB | 5 Q