3v4l.org

run code in 300+ PHP versions simultaneously
<?php $newdata = array ( 'wpseo_title' => 'test', 'wpseo_desc' => 'test', 'wpseo_metakey' => 'test' ); // for recipe $md_array["recipe_type"][] = $newdata; //for cuisine $md_array["cuisine"][] = $newdata; array_push($md_array["cuisine"],$newdata); var_dump($md_array["cuisine"]); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YS646
function name:  (null)
number of ops:  17
compiled vars:  !0 = $newdata, !1 = $md_array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   10     1        FETCH_DIM_W                                      $3      !1, 'recipe_type'
          2        ASSIGN_DIM                                               $3
          3        OP_DATA                                                  !0
   14     4        FETCH_DIM_W                                      $5      !1, 'cuisine'
          5        ASSIGN_DIM                                               $5
          6        OP_DATA                                                  !0
   15     7        INIT_FCALL                                               'array_push'
          8        FETCH_DIM_W                                      $7      !1, 'cuisine'
          9        SEND_REF                                                 $7
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
   17    12        INIT_FCALL                                               'var_dump'
         13        FETCH_DIM_R                                      ~9      !1, 'cuisine'
         14        SEND_VAL                                                 ~9
         15        DO_ICALL                                                 
   18    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.11 ms | 1386 KiB | 17 Q