3v4l.org

run code in 500+ PHP versions simultaneously
<?php $amountA = 11.125555; $amountB = 11.129999; if (round($amountA, 2) === round($amountB, 2)) { echo 'While the value is not the same, the amount is equal'; }
Output for git.master_jit, git.master, rfc.property-hooks
While the value is not the same, the amount is equal

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:
28.58 ms | 1256 KiB | 4 Q