3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr=[ '-20.91', '-34.48', '-5.18', '34.48', '20.91', '5.18' ]; foreach ($arr as $float) { printf("%.30f\n", (float)$float); }
Output for git.master, git.master_jit, rfc.property-hooks
-20.910000000000000142108547152020 -34.479999999999996873611962655559 -5.179999999999999715782905695960 34.479999999999996873611962655559 20.910000000000000142108547152020 5.179999999999999715782905695960

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:
102.99 ms | 406 KiB | 5 Q