3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach ([ PHP_INT_MAX, PHP_INT_MAX + 1000, PHP_INT_MAX * 1000, PHP_INT_MAX * 1000, 1e30, ] as $v) { var_dump([$v, (int) $v]); }
Output for git.master_jit, git.master
array(2) { [0]=> int(9223372036854775807) [1]=> int(9223372036854775807) } array(2) { [0]=> float(9.223372036854776E+18) [1]=> int(-9223372036854775808) } array(2) { [0]=> float(9.223372036854776E+21) [1]=> int(0) } array(2) { [0]=> float(9.223372036854776E+21) [1]=> int(0) } array(2) { [0]=> float(1.0E+30) [1]=> int(5076964154930102272) }

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