3v4l.org

run code in 500+ PHP versions simultaneously
<?php $arr = [3, "AA", [1,2], 444, ["V"]]; $a = @array_keys(array_flip($arr)); print_r($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/66L0O
function name:  (null)
number of ops:  14
compiled vars:  !0 = $arr, !1 = $a
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    4     1        BEGIN_SILENCE                                        ~3      
          2        INIT_FCALL                                                   'array_keys'
          3        INIT_FCALL                                                   'array_flip'
          4        SEND_VAR                                                     !0
          5        DO_ICALL                                             $4      
          6        SEND_VAR                                                     $4
          7        DO_ICALL                                             $5      
          8        END_SILENCE                                                  ~3
          9        ASSIGN                                                       !1, $5
    5    10        INIT_FCALL                                                   'print_r'
         11        SEND_VAR                                                     !1
         12        DO_ICALL                                                     
         13      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
176.76 ms | 2269 KiB | 16 Q