3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tests = [ '152.15 x 12.34 x 11mm', '152.15x12.34x11 mm', '152.15mmx12.34mm x 11mm', ]; foreach ($tests as $test) { var_dump( sscanf($test, '%f%*[mx ]%f%*[mx ]%f') ); echo "\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { [0]=> float(152.15) [1]=> float(12.34) [2]=> float(11) } array(3) { [0]=> float(152.15) [1]=> float(12.34) [2]=> float(11) } array(3) { [0]=> float(152.15) [1]=> float(12.34) [2]=> float(11) }

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