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_dumb($md_array["cuisine"]); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/v37Us
function name:  (null)
number of ops:  18
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_BY_NAME                                       'var_dumb'
         13        CHECK_FUNC_ARG                                           
         14        FETCH_DIM_FUNC_ARG                               $9      !1, 'cuisine'
         15        SEND_FUNC_ARG                                            $9
         16        DO_FCALL                                      0          
   18    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.9 ms | 1394 KiB | 15 Q