3v4l.org

run code in 300+ PHP versions simultaneously
<?php $precoBase = (float)71612.54; $sumLotes= array_sum(array((float)4568.20,(float)26370.24,(float)13986.00,(float)1745.60,(float)18295.00,(float)6647.50)); if ($precoBase === $sumLotes) { // Comparing value and data type. echo 'OK'; }else{ echo 'LOLPHP - NOK' . PHP_EOL; var_dump($precoBase,$sumLotes); }
Output for git.master, git.master_jit, rfc.property-hooks
LOLPHP - NOK float(71612.54) float(71612.54000000001)

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