3v4l.org

run code in 300+ PHP versions simultaneously
<?php $newdata = array ( 'wpseo_title' => 'test', 'wpseo_desc' => 'test', 'wpseo_metakey' => 'test' ); 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 = 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/Vq9cD
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        FETCH_CONSTANT                                   ~8      'newdat'
          5        ECHO                                                     ~8
    8     6      > JMP                                                      ->2
          7    >   FE_FREE                                                  $5
   14     8        FETCH_DIM_W                                      $9      !3, 'recipe_type'
          9        ASSIGN_DIM                                               $9
         10        OP_DATA                                                  !0
   18    11        FETCH_DIM_W                                      $11     !3, 'cuisine'
         12        ASSIGN_DIM                                               $11
         13        OP_DATA                                                  !0
   19    14        INIT_FCALL                                               'array_push'
         15        FETCH_DIM_W                                      $13     !3, 'cuisine'
         16        SEND_REF                                                 $13
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                                 
   22    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.14 ms | 1395 KiB | 15 Q