3v4l.org

run code in 300+ PHP versions simultaneously
<?php // format: 08:25:50 Feb 20, 2014 PST $a = '0.450'; $b = '.450'; $c = '1.45'; $d = '56'; $e = '56.5'; $f = '56.50'; echo (float) $a; echo (float) $b; echo (float) $c; echo (float) $d; echo (float) $e; echo (float) $f; ?>
Output for git.master, git.master_jit, rfc.property-hooks
0.450.451.455656.556.5

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