3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a=(1<<0); $b=(1<<$a); $c=(1<<$b); //echo ($c||$b)<<2*$a|$a; $a=(1<<0); $b=(1<<1); //echo $b|$a; $a=0x01; $b=0x02; //printf('%x', ($a<<$b.$b)); //print (19.6*100)!==(double)1960; $a=array('a','b','c'); $l=end(array_keys($a)); foreach($a as $k=>$v){ echo $k==$l ? 'a' : 'b'; }
Output for git.master, git.master_jit, rfc.property-hooks
Notice: Only variables should be passed by reference in /in/FMmIC on line 14 bba

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