3v4l.org

run code in 300+ PHP versions simultaneously
<?php // type casting var_dump((float) "1.0E+7"); // float(10000000) // type juggling var_dump("1.0E+7" + 0.0); // float(10000000) // function var_dump(floatval("1.0E+7")); // float(10000000) // other stuff var_dump(round("1.0E+7")); // float(10000000) var_dump(floor("1.0E+7")); // float(10000000) var_dump(ceil("1.0E+7")); // float(10000000) var_dump(abs("1.0E+7")); // float(10000000) // weird var_dump(unserialize("d:"."1.0E+7".";")); // float(10000000) var_dump(json_decode('1.0E+7')); // float(10000000)
Output for git.master, git.master_jit, rfc.property-hooks
float(10000000) float(10000000) float(10000000) float(10000000) float(10000000) float(10000000) float(10000000) float(10000000) float(10000000)

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