3v4l.org

run code in 300+ PHP versions simultaneously
<?php $float = PHP_INT_MAX * 1000; // float larger than max. int echo $float . "\n"; echo PHP_INT_MAX . "\n"; echo (int) $float . "\n"; $float = PHP_INT_MAX * 1234561; // float II larger than max. int echo $float . "\n"; echo PHP_INT_MAX . "\n"; echo (int) $float . "\n";
Output for git.master_jit, git.master, rfc.property-hooks
9.2233720368548E+21 9223372036854775807 0 1.1386815405191E+25 9223372036854775807 -9223372036854775808

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