3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myArray = array( '@@warning_count' => 2, array( 'level' => 'Warning', 'code' => 1266, 'message' => "Incorrect integer value: ‘Johny’ for column ‘billing_cycle’ at row 1"), array( 'level' => 'Warning', 'code' => 1266, 'message' => "Incorrect integer value: ‘Johny’ for column ‘billing_cycle’ at row 1"), ); print "Warning Count: {$myArray['@@warning_count']}\n"; foreach ($myArray as $key => $value){ if (is_array($value)){ foreach ($value as $subKey => $subValue){ print $subKey . "=>" . $subValue; } } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 20
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 20
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 19
Branch analysis from position: 11
2 jumps found. (Code = 77) Position 1 = 12, Position 2 = 18
Branch analysis from position: 12
2 jumps found. (Code = 78) Position 1 = 13, Position 2 = 18
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 18
Branch analysis from position: 19
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
filename:       /in/cCrG3
function name:  (null)
number of ops:  22
compiled vars:  !0 = $myArray, !1 = $value, !2 = $key, !3 = $subValue, !4 = $subKey
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   14     1        ROPE_INIT                                     3  ~8      'Warning+Count%3A+'
          2        FETCH_DIM_R                                      ~6      !0, '%40%40warning_count'
          3        ROPE_ADD                                      1  ~8      ~8, ~6
          4        ROPE_END                                      2  ~7      ~8, '%0A'
          5        ECHO                                                     ~7
   15     6      > FE_RESET_R                                       $10     !0, ->20
          7    > > FE_FETCH_R                                       ~11     $10, !1, ->20
          8    >   ASSIGN                                                   !2, ~11
   16     9        TYPE_CHECK                                  128          !1
         10      > JMPZ                                                     ~13, ->19
   17    11    > > FE_RESET_R                                       $14     !1, ->18
         12    > > FE_FETCH_R                                       ~15     $14, !3, ->18
         13    >   ASSIGN                                                   !4, ~15
   18    14        CONCAT                                           ~17     !4, '%3D%3E'
         15        CONCAT                                           ~18     ~17, !3
         16        ECHO                                                     ~18
   17    17      > JMP                                                      ->12
         18    >   FE_FREE                                                  $14
   15    19    > > JMP                                                      ->7
         20    >   FE_FREE                                                  $10
   21    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.08 ms | 1399 KiB | 13 Q