3v4l.org

run code in 300+ PHP versions simultaneously
<?php $class = new ReflectionClass('ReflectionClass'); foreach ($class->getMethods() as $method) { foreach ($method->getParameters() as $parameter) { echo $parameter . "\n"; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 17
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 17
Branch analysis from position: 8
2 jumps found. (Code = 77) Position 1 = 11, Position 2 = 15
Branch analysis from position: 11
2 jumps found. (Code = 78) Position 1 = 12, Position 2 = 15
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 15
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/3nPFR
function name:  (null)
number of ops:  19
compiled vars:  !0 = $class, !1 = $method, !2 = $parameter
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $3      'ReflectionClass'
          1        SEND_VAL_EX                                              'ReflectionClass'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $3
    4     4        INIT_METHOD_CALL                                         !0, 'getMethods'
          5        DO_FCALL                                      0  $6      
          6      > FE_RESET_R                                       $7      $6, ->17
          7    > > FE_FETCH_R                                               $7, !1, ->17
    5     8    >   INIT_METHOD_CALL                                         !1, 'getParameters'
          9        DO_FCALL                                      0  $8      
         10      > FE_RESET_R                                       $9      $8, ->15
         11    > > FE_FETCH_R                                               $9, !2, ->15
    6    12    >   CONCAT                                           ~10     !2, '%0A'
         13        ECHO                                                     ~10
    5    14      > JMP                                                      ->11
         15    >   FE_FREE                                                  $9
    4    16      > JMP                                                      ->7
         17    >   FE_FREE                                                  $7
    8    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.58 ms | 1394 KiB | 13 Q