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; $a='print'; $a('hello');
Output for git.master_jit, git.master, rfc.property-hooks
Notice: Only variables should be passed by reference in /in/QONSl on line 14 Fatal error: Uncaught Error: Call to undefined function print() in /in/QONSl:20 Stack trace: #0 {main} thrown in /in/QONSl on line 20
Process exited with code 255.

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