3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(array( 31 => 31, "32" => "32", "33" => (int) "33")); var_dump(array(031 => 031, "032" => "032", "033" => (int)"033"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cTIpW
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_ARRAY                                       ~0      31, 31
          2        ADD_ARRAY_ELEMENT                                ~0      '32', 32
          3        CAST                                          4  ~1      '33'
          4        ADD_ARRAY_ELEMENT                                ~0      ~1, 33
          5        SEND_VAL                                                 ~0
          6        DO_ICALL                                                 
    3     7        INIT_FCALL                                               'var_dump'
          8        INIT_ARRAY                                       ~3      25, 25
          9        ADD_ARRAY_ELEMENT                                ~3      '032', '032'
         10        CAST                                          4  ~4      '033'
         11        ADD_ARRAY_ELEMENT                                ~3      ~4, '033'
         12        SEND_VAL                                                 ~3
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.16 ms | 1398 KiB | 15 Q