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 ($preco === $sum) { // Comparing value and data type. echo 'OK'; }else{ echo 'LOLPHP - NOK' . PHP_EOL; var_dump($preco,$sum); }
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $preco in /in/FOrc1 on line 6 Warning: Undefined variable $sum in /in/FOrc1 on line 6 OK

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