3v4l.org

run code in 300+ PHP versions simultaneously
<?php $newadd = Array( '0' => 'deutsch', ); $poddata = Array( '0' => 'englisch', '1' => 'italienisch', '2' => 'russisch' ); $poddata[] = 'deutsch'; print_r($poddata); echo '----'; $cart = array(); $cart[] = 13; $cart[] = "foo"; $cart[] = obj; print_r($cart); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0qlpb
function name:  (null)
number of ops:  20
compiled vars:  !0 = $newadd, !1 = $poddata, !2 = $cart
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
   10     1        ASSIGN                                                   !1, <array>
   23     2        ASSIGN_DIM                                               !1
          3        OP_DATA                                                  'deutsch'
   26     4        INIT_FCALL                                               'print_r'
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                                 
   28     7        ECHO                                                     '----'
   32     8        ASSIGN                                                   !2, <array>
   33     9        ASSIGN_DIM                                               !2
         10        OP_DATA                                                  13
   34    11        ASSIGN_DIM                                               !2
         12        OP_DATA                                                  'foo'
   35    13        FETCH_CONSTANT                                   ~11     'obj'
         14        ASSIGN_DIM                                               !2
         15        OP_DATA                                                  ~11
   36    16        INIT_FCALL                                               'print_r'
         17        SEND_VAR                                                 !2
         18        DO_ICALL                                                 
   41    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.18 ms | 1399 KiB | 15 Q