3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.36 ms | 1393 KiB | 13 Q