3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach(["32.3","11.8","2.5"] as $float){ print ((float)(string)$float * 1000).PHP_EOL; $v = (float)(string)$float * 1000; print var_export($v,true).PHP_EOL; print "{$v}\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
32300 32299.999999999996 32300 11800 11800.0 11800 2500 2500.0 2500

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