3v4l.org

run code in 300+ PHP versions simultaneously
<?php $numero_grande = 2147483647; var_dump($numero_grande); // saida: int(2147483647) $numero_grande = 2147483648; var_dump($numero_grande); // saida: float(2147483648) // é válido também para inteiros hexadecimais entre 2^31 e 2^32-1: var_dump( 0xffffffff ); // output: float(4294967295) // porém não é válido para hexadecimais com valores acima de 2^32-1: var_dump( 0x100000000 ); // output: int(2147483647) $milhao = 1000000; $numero_grande = 50000 * $milhao; var_dump($numero_grande); // saida: float(50000000000)
Output for git.master, git.master_jit, rfc.property-hooks
int(2147483647) int(2147483648) int(4294967295) int(4294967296) int(50000000000)

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