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 . "\n"; } } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 21
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 21
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 20
Branch analysis from position: 11
2 jumps found. (Code = 77) Position 1 = 12, Position 2 = 19
Branch analysis from position: 12
2 jumps found. (Code = 78) Position 1 = 13, Position 2 = 19
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 19
Branch analysis from position: 20
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
filename:       /in/uE5FU
function name:  (null)
number of ops:  23
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, ->21
          7    > > FE_FETCH_R                                       ~11     $10, !1, ->21
          8    >   ASSIGN                                                   !2, ~11
   16     9        TYPE_CHECK                                  128          !1
         10      > JMPZ                                                     ~13, ->20
   17    11    > > FE_RESET_R                                       $14     !1, ->19
         12    > > FE_FETCH_R                                       ~15     $14, !3, ->19
         13    >   ASSIGN                                                   !4, ~15
   18    14        CONCAT                                           ~17     !4, '%3D%3E'
         15        CONCAT                                           ~18     ~17, !3
         16        CONCAT                                           ~19     ~18, '%0A'
         17        ECHO                                                     ~19
   17    18      > JMP                                                      ->12
         19    >   FE_FREE                                                  $14
   15    20    > > JMP                                                      ->7
         21    >   FE_FREE                                                  $10
   21    22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.76 ms | 1395 KiB | 13 Q