3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump("0xA" == "10"); $a["-0"] = true; var_dump($a["0"]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5dUgf
function name:  (null)
number of ops:  10
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        SEND_VAL                                                 <false>
          2        DO_ICALL                                                 
    4     3        ASSIGN_DIM                                               !0, '-0'
          4        OP_DATA                                                  <true>
    5     5        INIT_FCALL                                               'var_dump'
          6        FETCH_DIM_R                                      ~3      !0, 0
          7        SEND_VAL                                                 ~3
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.18 ms | 1393 KiB | 15 Q