3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array(0 => 200, '730404' => 89730 ,'730205' => 1000 ,'730100' => 1000 ,'730601' => 2184); $keys = array_keys($array); $key='730404'; if (in_array($key,$keys)) { echo "si es"; } //print_r($keys); ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 12
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/hBdJ8
function name:  (null)
number of ops:  13
compiled vars:  !0 = $array, !1 = $keys, !2 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        INIT_FCALL                                               'array_keys'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    4     5        ASSIGN                                                   !2, '730404'
    5     6        INIT_FCALL                                               'in_array'
          7        SEND_VAR                                                 !2
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                         $7      
         10      > JMPZ                                                     $7, ->12
    6    11    >   ECHO                                                     'si+es'
   10    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.89 ms | 1394 KiB | 17 Q