3v4l.org

run code in 300+ PHP versions simultaneously
<?php $newdata = array ( 'wpseo_title' => 'test1', 'wpseo_desc' => 'test2', 'wpseo_metakey' => 'test3' ); foreach ($newdata as $key => $newdat) { echo $newdat;echo $key; } // 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
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 7
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 7
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/b2Dmc
function name:  (null)
number of ops:  20
compiled vars:  !0 = $newdata, !1 = $newdat, !2 = $key, !3 = $md_array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    8     1      > FE_RESET_R                                       $5      !0, ->7
          2    > > FE_FETCH_R                                       ~6      $5, !1, ->7
          3    >   ASSIGN                                                   !2, ~6
    9     4        ECHO                                                     !1
          5        ECHO                                                     !2
    8     6      > JMP                                                      ->2
          7    >   FE_FREE                                                  $5
   14     8        FETCH_DIM_W                                      $8      !3, 'recipe_type'
          9        ASSIGN_DIM                                               $8
         10        OP_DATA                                                  !0
   18    11        FETCH_DIM_W                                      $10     !3, 'cuisine'
         12        ASSIGN_DIM                                               $10
         13        OP_DATA                                                  !0
   19    14        INIT_FCALL                                               'array_push'
         15        FETCH_DIM_W                                      $12     !3, 'cuisine'
         16        SEND_REF                                                 $12
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                                 
   22    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.76 ms | 1395 KiB | 15 Q