3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array('Implied', 1=> 'Integer', '2' => 'String', 3.0 => 'Float', '1000000000000000000000' => 'BigNum1', '1000000000000000000001'=>'BigNum2', 'f' => 'Non-int'); foreach($a AS $k=>$v){ echo "$v is treated as a ".gettype($k) . "\r\n\r\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
Implied is treated as a integer Integer is treated as a integer String is treated as a integer Float is treated as a integer BigNum1 is treated as a string BigNum2 is treated as a string Non-int is treated as a string

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.28 ms | 401 KiB | 8 Q