3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rm = new ReflectionMethod('ArrayIterator', 'key'); foreach ($rm->getParameters() as $param) { var_dump($paramt->getDefaultValue()); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 15
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 15
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/WCKXm
function name:  (null)
number of ops:  17
compiled vars:  !0 = $rm, !1 = $param, !2 = $paramt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $3      'ReflectionMethod'
          1        SEND_VAL_EX                                              'ArrayIterator'
          2        SEND_VAL_EX                                              'key'
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !0, $3
    5     5        INIT_METHOD_CALL                                         !0, 'getParameters'
          6        DO_FCALL                                      0  $6      
          7      > FE_RESET_R                                       $7      $6, ->15
          8    > > FE_FETCH_R                                               $7, !1, ->15
    7     9    >   INIT_FCALL                                               'var_dump'
         10        INIT_METHOD_CALL                                         !2, 'getDefaultValue'
         11        DO_FCALL                                      0  $8      
         12        SEND_VAR                                                 $8
         13        DO_ICALL                                                 
    5    14      > JMP                                                      ->8
         15    >   FE_FREE                                                  $7
    8    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.86 ms | 1395 KiB | 15 Q