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');
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 18, Position 2 = 27
Branch analysis from position: 18
2 jumps found. (Code = 78) Position 1 = 19, Position 2 = 27
Branch analysis from position: 19
2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 24
Branch analysis from position: 22
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 27
filename:       /in/be2Sl
function name:  (null)
number of ops:  33
compiled vars:  !0 = $a, !1 = $b, !2 = $c, !3 = $l, !4 = $v, !5 = $k
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>
   14    10        INIT_FCALL                                               'end'
         11        INIT_FCALL                                               'array_keys'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $16     
         14        SEND_VAR_NO_REF                               0          $16
         15        DO_ICALL                                         $17     
         16        ASSIGN                                                   !3, $17
   15    17      > FE_RESET_R                                       $19     !0, ->27
         18    > > FE_FETCH_R                                       ~20     $19, !4, ->27
         19    >   ASSIGN                                                   !5, ~20
   16    20        IS_EQUAL                                                 !5, !3
         21      > JMPZ                                                     ~22, ->24
         22    >   QM_ASSIGN                                        ~23     'a'
         23      > JMP                                                      ->25
         24    >   QM_ASSIGN                                        ~23     'b'
         25    >   ECHO                                                     ~23
   15    26      > JMP                                                      ->18
         27    >   FE_FREE                                                  $19
   19    28        ASSIGN                                                   !0, 'print'
   20    29        INIT_DYNAMIC_CALL                                        !0
         30        SEND_VAL_EX                                              'hello'
         31        DO_FCALL                                      0          
         32      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.52 ms | 1388 KiB | 17 Q