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; } // 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 = 6
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 6
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/MhT2X
function name:  (null)
number of ops:  19
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, ->6
          2    > > FE_FETCH_R                                       ~6      $5, !1, ->6
          3    >   ASSIGN                                                   !2, ~6
    9     4        ECHO                                                     !1
    8     5      > JMP                                                      ->2
          6    >   FE_FREE                                                  $5
   14     7        FETCH_DIM_W                                      $8      !3, 'recipe_type'
          8        ASSIGN_DIM                                               $8
          9        OP_DATA                                                  !0
   18    10        FETCH_DIM_W                                      $10     !3, 'cuisine'
         11        ASSIGN_DIM                                               $10
         12        OP_DATA                                                  !0
   19    13        INIT_FCALL                                               'array_push'
         14        FETCH_DIM_W                                      $12     !3, 'cuisine'
         15        SEND_REF                                                 $12
         16        SEND_VAR                                                 !0
         17        DO_ICALL                                                 
   22    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.47 ms | 1395 KiB | 15 Q