3v4l.org

run code in 500+ 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"; } print "------------------\n"; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 22
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 22
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 21
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: 21
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
filename:       /in/lPSXQ
function name:  (null)
number of ops:  24
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, ->22
          7    > > FE_FETCH_R                                           ~11     $10, !1, ->22
          8    >   ASSIGN                                                       !2, ~11
   16     9        TYPE_CHECK                                      128          !1
         10      > JMPZ                                                         ~13, ->21
   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
   20    20        ECHO                                                         '------------------%0A'
   15    21    > > JMP                                                          ->7
         22    >   FE_FREE                                                      $10
   22    23      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
216.98 ms | 3404 KiB | 13 Q