3v4l.org

run code in 300+ PHP versions simultaneously
<?php $reflection = new ReflectionFunction('\hash_update_file'); foreach ($reflection->getParameters() as $parameter) { echo sprintf('$%s', $parameter->getName()) . PHP_EOL; }
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
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/Xb0V7
function name:  (null)
number of ops:  19
compiled vars:  !0 = $reflection, !1 = $parameter
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $2      'ReflectionFunction'
          1        SEND_VAL_EX                                              '%5Chash_update_file'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $2
    4     4        INIT_METHOD_CALL                                         !0, 'getParameters'
          5        DO_FCALL                                      0  $5      
          6      > FE_RESET_R                                       $6      $5, ->17
          7    > > FE_FETCH_R                                               $6, !1, ->17
    5     8    >   INIT_FCALL                                               'sprintf'
          9        SEND_VAL                                                 '%24%25s'
         10        INIT_METHOD_CALL                                         !1, 'getName'
         11        DO_FCALL                                      0  $7      
         12        SEND_VAR                                                 $7
         13        DO_ICALL                                         $8      
         14        CONCAT                                           ~9      $8, '%0A'
         15        ECHO                                                     ~9
    4    16      > JMP                                                      ->7
         17    >   FE_FREE                                                  $6
    6    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.5 ms | 1386 KiB | 15 Q