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;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 18, Position 2 = 21
Branch analysis from position: 18
2 jumps found. (Code = 78) Position 1 = 19, Position 2 = 21
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
filename:       /in/vWP0Z
function name:  (null)
number of ops:  25
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, ->21
         18    > > FE_FETCH_R                                       ~20     $19, !4, ->21
         19    >   ASSIGN                                                   !5, ~20
         20      > JMP                                                      ->18
         21    >   FE_FREE                                                  $19
   18    22        ECHO                                                     5
         23        ECHO                                                     '11'
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.07 ms | 1387 KiB | 17 Q