3v4l.org

run code in 500+ PHP versions simultaneously
<?php // what does 1 and true mean here? $keys = array_keys($array, 1, true); // yes but of course $keys = array_keys($array, filter_value:1, strict:true); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Qr4tP
function name:  (null)
number of ops:  13
compiled vars:  !0 = $keys, !1 = $array
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                                   'array_keys'
          1        SEND_VAR                                                     !1
          2        SEND_VAL                                                     1
          3        SEND_VAL                                                     <true>
          4        DO_ICALL                                             $2      
          5        ASSIGN                                                       !0, $2
    7     6        INIT_FCALL                                                   'array_keys'
          7        SEND_VAR                                                     !1
          8        SEND_VAL                                                     1
          9        SEND_VAL                                                     <true>
         10        DO_ICALL                                             $4      
         11        ASSIGN                                                       !0, $4
    9    12      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
162.12 ms | 1492 KiB | 14 Q