3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php foreach ( array_keys(null) as $day ) { var_dump($day); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 9
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 9
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/AvKIJ
function name:  (null)
number of ops:  11
compiled vars:  !0 = $day
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   INIT_FCALL                                               'array_keys'
         1        SEND_VAL                                                 null
         2        DO_ICALL                                         $1      
         3      > FE_RESET_R                                       $2      $1, ->9
         4    > > FE_FETCH_R                                               $2, !0, ->9
   4     5    >   INIT_FCALL                                               'var_dump'
         6        SEND_VAR                                                 !0
         7        DO_ICALL                                                 
         8      > JMP                                                      ->4
         9    >   FE_FREE                                                  $2
   5    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0