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.'<br>'; echo (float) $b.'<br>'; echo (float) $c.'<br>'; echo (float) $d.'<br>'; echo (float) $e.'<br>'; echo (float) $f; ?>
Output for git.master, git.master_jit, rfc.property-hooks
0.45<br>0.45<br>1.45<br>56<br>56.5<br>56.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:
36.11 ms | 401 KiB | 8 Q