3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('precision', 30); ini_set('serialize_precision', 30); for ($i = 1; $i <= 9; $i++) { var_dump($i / 10); }
Output for git.master, git.master_jit, rfc.property-hooks
float(0.100000000000000005551115123126) float(0.200000000000000011102230246252) float(0.299999999999999988897769753748) float(0.400000000000000022204460492503) float(0.5) float(0.599999999999999977795539507497) float(0.699999999999999955591079014994) float(0.800000000000000044408920985006) float(0.900000000000000022204460492503)

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