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; echo false == null;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 11, Position 2 = 14
Branch analysis from position: 11
2 jumps found. (Code = 78) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/qeSK9
function name:  (null)
number of ops:  18
compiled vars:  !0 = $a, !1 = $b, !2 = $c, !3 = $v, !4 = $k, !5 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1
    3     1        SL                                               ~7      1, !0
          2        ASSIGN                                                   !1, ~7
    4     3        SL                                               ~9      1, !1
          4        ASSIGN                                                   !2, ~9
    6     5        ASSIGN                                                   !0, 1
    7     6        ASSIGN                                                   !1, 2
    9     7        ASSIGN                                                   !0, 1
   10     8        ASSIGN                                                   !1, 2
   13     9        ASSIGN                                                   !0, <array>
   15    10      > FE_RESET_R                                       $16     !0, ->14
         11    > > FE_FETCH_R                                       ~17     $16, !3, ->14
         12    >   ASSIGN                                                   !4, ~17
         13      > JMP                                                      ->11
         14    >   FE_FREE                                                  $16
   22    15        ASSIGN                                                   !5, 'hello+w'
   25    16        ECHO                                                     <true>
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.27 ms | 1385 KiB | 13 Q