3v4l.org

run code in 300+ PHP versions simultaneously
<?php $newadd = Array( '0' => 'deutsch', ); $poddata = Array( '0' => 'englisch', '1' => 'italienisch', '2' => 'russisch' ); $new_lang_array = array_push($poddata, 'deutsch'); $arrayname[indexname] = $new_lang_array; print_r($arrayname[indexname]); echo '----'; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rD9Yo
function name:  (null)
number of ops:  17
compiled vars:  !0 = $newadd, !1 = $poddata, !2 = $new_lang_array, !3 = $arrayname
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
   10     1        ASSIGN                                                   !1, <array>
   23     2        INIT_FCALL                                               'array_push'
          3        SEND_REF                                                 !1
          4        SEND_VAL                                                 'deutsch'
          5        DO_ICALL                                         $6      
          6        ASSIGN                                                   !2, $6
   25     7        FETCH_CONSTANT                                   ~8      'indexname'
          8        ASSIGN_DIM                                               !3, ~8
          9        OP_DATA                                                  !2
   27    10        INIT_FCALL                                               'print_r'
         11        FETCH_CONSTANT                                   ~10     'indexname'
         12        FETCH_DIM_R                                      ~11     !3, ~10
         13        SEND_VAL                                                 ~11
         14        DO_ICALL                                                 
   29    15        ECHO                                                     '----'
   32    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.84 ms | 1394 KiB | 17 Q