3v4l.org

run code in 300+ PHP versions simultaneously
<?php /**** PlaceHolder to emulate file ****/ $input = <<<EOL RFHSEP34 | 20 RETBBHUJ | 10 TYRHBNNM | 5 EOL; $_POST['disCode'] = 'RETBBHUJ'; $total = 500; $total -= preg_match('#^' . preg_quote(substr($_POST['disCode'] ?? '', 0, 8)) . ' \| \K\d+(?=\h*$)#m', $input, $m) ? (int) $m[0] : 0; var_export($total);
Output for git.master_jit, git.master, rfc.property-hooks
490

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