3v4l.org

run code in 300+ PHP versions simultaneously
<?php $final_amount = 18153.60 - 6353.75; var_dump($final_amount)."\n"; var_dump($final_amount * 100); var_dump(floor($final_amount * 100)); $final_amount = floor($final_amount * 100) / 100; var_dump($final_amount);
Output for git.master, git.master_jit, rfc.property-hooks
float(11799.849999999999) float(1179984.9999999998) float(1179984) float(11799.84)

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