3v4l.org

run code in 300+ PHP versions simultaneously
<?php $e = Array(Array ( "0" => 13 , "1" => 11 , "2" => 2 ), Array ( "989.32" => 13 , "77" => 11 , "0.99" => 2 )); $result = array(array()); $i=0; foreach($e as $values) { foreach($values as $key=>$value) { $result[$i]= $key * $value ; $i++; } } print_r($result);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 15
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 15
Branch analysis from position: 5
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 13
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 13
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 13
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/p4vaV
function name:  (null)
number of ops:  20
compiled vars:  !0 = $e, !1 = $result, !2 = $i, !3 = $values, !4 = $value, !5 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    4     2        ASSIGN                                                   !2, 0
    5     3      > FE_RESET_R                                       $9      !0, ->15
          4    > > FE_FETCH_R                                               $9, !3, ->15
    7     5    > > FE_RESET_R                                       $10     !3, ->13
          6    > > FE_FETCH_R                                       ~11     $10, !4, ->13
          7    >   ASSIGN                                                   !5, ~11
    9     8        MUL                                              ~14     !5, !4
          9        ASSIGN_DIM                                               !1, !2
         10        OP_DATA                                                  ~14
   10    11        PRE_INC                                                  !2
    7    12      > JMP                                                      ->6
         13    >   FE_FREE                                                  $10
    5    14      > JMP                                                      ->4
         15    >   FE_FREE                                                  $9
   14    16        INIT_FCALL                                               'print_r'
         17        SEND_VAR                                                 !1
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.87 ms | 1395 KiB | 15 Q