3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 0.1; $b = 0.2; var_dump($a); var_dump($b); var_dump($a + $b); echo ($a + $b) . "\n"; var_dump(($a + $b) == 0.3);
Output for git.master, git.master_jit
float(0.1) float(0.2) float(0.30000000000000004) 0.3 bool(false)

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