3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c='count'; $a=array("in","Volvo","BMW","Toyota"); if(reset($a)=='in' && $c($a)>3) print('fu'); {ini_set('error_log', '/dev/null'); $k='terwebz'; echo '<'.$k.'>'; print(base64_decode(preg_replace(array('/[^\w=\s]/','/\s/'), array('','+'), join(array_slice($a,$c($a)-3))))); echo '</'.$k.'>';} ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 7, Position 2 = 12
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 14
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
Branch analysis from position: 12
filename:       /in/Oahai
function name:  (null)
number of ops:  46
compiled vars:  !0 = $c, !1 = $a, !2 = $k
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'count'
    3     1        ASSIGN                                                   !1, <array>
    4     2        INIT_FCALL                                               'reset'
          3        SEND_REF                                                 !1
          4        DO_ICALL                                         $5      
          5        IS_EQUAL                                         ~6      $5, 'in'
          6      > JMPZ_EX                                          ~6      ~6, ->12
          7    >   INIT_DYNAMIC_CALL                                        !0
          8        SEND_VAR_EX                                              !1
          9        DO_FCALL                                      0  $7      
         10        IS_SMALLER                                       ~8      3, $7
         11        BOOL                                             ~6      ~8
         12    > > JMPZ                                                     ~6, ->14
    5    13    >   ECHO                                                     'fu'
    6    14    >   INIT_FCALL                                               'ini_set'
         15        SEND_VAL                                                 'error_log'
         16        SEND_VAL                                                 '%2Fdev%2Fnull'
         17        DO_ICALL                                                 
    7    18        ASSIGN                                                   !2, 'terwebz'
    8    19        CONCAT                                           ~11     '%3C', !2
         20        CONCAT                                           ~12     ~11, '%3E'
         21        ECHO                                                     ~12
    9    22        INIT_FCALL                                               'base64_decode'
         23        INIT_FCALL                                               'preg_replace'
         24        SEND_VAL                                                 <array>
         25        SEND_VAL                                                 <array>
         26        INIT_FCALL                                               'join'
         27        INIT_FCALL                                               'array_slice'
         28        SEND_VAR                                                 !1
         29        INIT_DYNAMIC_CALL                                        !0
         30        SEND_VAR_EX                                              !1
         31        DO_FCALL                                      0  $13     
         32        SUB                                              ~14     $13, 3
         33        SEND_VAL                                                 ~14
         34        DO_ICALL                                         $15     
         35        SEND_VAR                                                 $15
         36        DO_ICALL                                         $16     
         37        SEND_VAR                                                 $16
         38        DO_ICALL                                         $17     
         39        SEND_VAR                                                 $17
         40        DO_ICALL                                         $18     
         41        ECHO                                                     $18
   10    42        CONCAT                                           ~19     '%3C%2F', !2
         43        CONCAT                                           ~20     ~19, '%3E'
         44        ECHO                                                     ~20
   11    45      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
190.99 ms | 1400 KiB | 25 Q