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'; } //echo '1'.print(2)+3; echo 5+'10 t';
Output for git.master, git.master_jit, rfc.property-hooks
Notice: Only variables should be passed by reference in /in/vYVbF on line 14 Warning: A non-numeric value encountered in /in/vYVbF on line 19 15

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