3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 0.1 + 0.2; $b = 0.2; $b += 0.1; var_dump(array(0.1 + 0.2, 0.3, 0.1 + 0.2 == 0.3, 0.1 + 0.2 === 0.3, $a == $b, $a - 0.3, $b - 0.3));
Output for git.master, git.master_jit, rfc.property-hooks
array(7) { [0]=> float(0.30000000000000004) [1]=> float(0.3) [2]=> bool(false) [3]=> bool(false) [4]=> bool(true) [5]=> float(5.551115123125783E-17) [6]=> float(5.551115123125783E-17) }

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