3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array( "0" => "", "address_country" => "", "1" => "2011-11-29 14:49:10", "createdtime" => "2011-11-29 14:49:10" ); $c = array_values($a); for($i = 0; $i < count($c); $i++){ if(count($c) > $i-1) { if(array_search($c[$i+1],$a) == "address_country") echo "found"; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
2 jumps found. (Code = 44) Position 1 = 24, Position 2 = 7
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 20
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 20
Branch analysis from position: 19
2 jumps found. (Code = 44) Position 1 = 24, Position 2 = 7
Branch analysis from position: 24
Branch analysis from position: 7
Branch analysis from position: 20
Branch analysis from position: 20
filename:       /in/YFoiA
function name:  (null)
number of ops:  25
compiled vars:  !0 = $a, !1 = $c, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    8     1        INIT_FCALL                                               'array_values'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    9     5        ASSIGN                                                   !2, 0
          6      > JMP                                                      ->21
   10     7    >   COUNT                                            ~7      !1
          8        SUB                                              ~8      !2, 1
          9        IS_SMALLER                                               ~8, ~7
         10      > JMPZ                                                     ~9, ->20
   11    11    >   INIT_FCALL                                               'array_search'
         12        ADD                                              ~10     !2, 1
         13        FETCH_DIM_R                                      ~11     !1, ~10
         14        SEND_VAL                                                 ~11
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                         $12     
         17        IS_EQUAL                                                 $12, 'address_country'
         18      > JMPZ                                                     ~13, ->20
   12    19    >   ECHO                                                     'found'
    9    20    >   PRE_INC                                                  !2
         21    >   COUNT                                            ~15     !1
         22        IS_SMALLER                                               !2, ~15
         23      > JMPNZ                                                    ~16, ->7
   14    24    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.19 ms | 1395 KiB | 17 Q