3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hash = "99988622812541713466599846653809"; $a = array($hash => 42); reset($a); $key = key($a); var_dump((string)$key === $hash, $key);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vWmhL
function name:  (null)
number of ops:  17
compiled vars:  !0 = $hash, !1 = $a, !2 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '99988622812541713466599846653809'
    3     1        INIT_ARRAY                                       ~4      42, !0
          2        ASSIGN                                                   !1, ~4
    4     3        INIT_FCALL                                               'reset'
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'key'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                         $7      
          9        ASSIGN                                                   !2, $7
    6    10        INIT_FCALL                                               'var_dump'
         11        CAST                                          6  ~9      !2
         12        IS_IDENTICAL                                     ~10     !0, ~9
         13        SEND_VAL                                                 ~10
         14        SEND_VAR                                                 !2
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.82 ms | 1394 KiB | 19 Q