3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.76 ms | 1394 KiB | 17 Q