3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = '/TOTALE EURO CONTANTI\s*\K\d+[.,]\d+/'; $str = 'Del burger Sr Via Carlo del Prete 106/d 50127 FIRENZE C.F. E P.IVA 08380120482 BRUNCH MAMMAMIA ONION RINGS SPICCHI PATATE ACQUA 0.5L TAVOLO 88 EURO 6,50 6,50 4,00 3,00 1,00 TOTALE EURO CONTANTI 21,00 21,00 NR.0057 23/05/18 20:21 MF U1 72005985'; preg_match($re, $str, $matches); echo $matches[0]; // 1,00
Output for git.master, git.master_jit, rfc.property-hooks
21,00

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