3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ 1_000_000_000, // int 6.674_083e-11, // float 299_792_458, // decimal 0xCAFE_F00D, // hexadecimal 0b0101_1111, // binary 0137_041 // octal ]; var_dump($arr);
Output for git.master, git.master_jit, rfc.property-hooks
array(6) { [0]=> int(1000000000) [1]=> float(6.674083E-11) [2]=> int(299792458) [3]=> int(3405705229) [4]=> int(95) [5]=> int(48673) }

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.69 ms | 405 KiB | 5 Q