3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c[]=array('1'); $c[]=array('2'); $a= 0; $b= (int)$a; echo $c[$b]; print_r($c);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7A8H1
function name:  (null)
number of ops:  13
compiled vars:  !0 = $c, !1 = $a, !2 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0
          1        OP_DATA                                                  <array>
    3     2        ASSIGN_DIM                                               !0
          3        OP_DATA                                                  <array>
    4     4        ASSIGN                                                   !1, 0
    5     5        CAST                                          4  ~6      !1
          6        ASSIGN                                                   !2, ~6
    6     7        FETCH_DIM_R                                      ~8      !0, !2
          8        ECHO                                                     ~8
    7     9        INIT_FCALL                                               'print_r'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.66 ms | 1394 KiB | 15 Q