3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.1 ms | 1399 KiB | 15 Q