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 (2).(3*(print 3)); //$a="print"; //$a("hello"); //echo 30 * 5 . 7; $s='hello w'; //print $s[4]; echo ~0;
Output for git.master, git.master_jit, rfc.property-hooks
-1

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