3v4l.org

run code in 300+ PHP versions simultaneously
<?php define ( "THE_CONST" , 3 ) ; function b ( $a = array ( E_ALL => THE_CONST ) ) { print_r ( new ArrayIterator !=b () , c ) ; foreach ( bar as $$d ) $e = days * 4 * 0 ; } b () ;
based on IrYCq
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6NMKP
function name:  (null)
number of ops:  7
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   INIT_FCALL                                               'define'
         1        SEND_VAL                                                 'THE_CONST'
         2        SEND_VAL                                                 3
         3        DO_ICALL                                                 
   8     4        INIT_FCALL                                               'b'
         5        DO_FCALL                                      0          
         6      > RETURN                                                   1

Function b:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 13, Position 2 = 21
Branch analysis from position: 13
2 jumps found. (Code = 78) Position 1 = 14, Position 2 = 21
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
filename:       /in/6NMKP
function name:  b
number of ops:  23
compiled vars:  !0 = $a, !1 = $d, !2 = $e
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   RECV_INIT                                        !0      <const ast>
   4     1        INIT_FCALL                                               'print_r'
         2        NEW                                              $3      :39
         3        DO_FCALL                                      0          
         4        INIT_FCALL_BY_NAME                                       'b'
         5        DO_FCALL                                      0  $5      
         6        IS_SMALLER                                       ~6      $3, $5
         7        SEND_VAL                                                 ~6
         8        FETCH_CONSTANT                                   ~7      'c'
         9        SEND_VAL                                                 ~7
        10        DO_ICALL                                                 
   5    11        FETCH_CONSTANT                                   ~9      'bar'
        12      > FE_RESET_R                                       $10     ~9, ->21
        13    > > FE_FETCH_R                                               $10, $11, ->21
        14    >   FETCH_W                      local               $12     !1
        15        ASSIGN                                                   $12, $11
   6    16        FETCH_CONSTANT                                   ~14     'days'
        17        MUL                                              ~15     ~14, 4
        18        MUL                                              ~16     ~15, 0
        19        ASSIGN                                                   !2, ~16
   5    20      > JMP                                                      ->13
        21    >   FE_FREE                                                  $10
   7    22      > RETURN                                                   null

End of function b

Generated using Vulcan Logic Dumper, using php 7.4.0