3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.88 ms | 1396 KiB | 17 Q