3v4l.org

run code in 500+ 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 = 15
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 15
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/Xb0V7
function name:  (null)
number of ops:  17
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, ->15
          7    > > FE_FETCH_R                                                   $6, !1, ->15
    5     8    >   INIT_METHOD_CALL                                             !1, 'getName'
          9        DO_FCALL                                          0  $7      
         10        NOP                                                          
         11        FAST_CONCAT                                          ~8      '%24', $7
         12        CONCAT                                               ~9      ~8, '%0A'
         13        ECHO                                                         ~9
    4    14      > JMP                                                          ->7
         15    >   FE_FREE                                                      $6
    6    16      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
218.75 ms | 3257 KiB | 13 Q