3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach (get_defined_functions()['internal'] as $f) { $rf = new ReflectionFunction($f); foreach ($rf->getParameters() as $p) { if ($p->isPassedByReference()) { echo $f, PHP_EOL; break; } } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 22
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 22
Branch analysis from position: 5
2 jumps found. (Code = 77) Position 1 = 12, Position 2 = 20
Branch analysis from position: 12
2 jumps found. (Code = 78) Position 1 = 13, Position 2 = 20
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 19
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
Branch analysis from position: 20
Branch analysis from position: 20
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
filename:       /in/u6gUq
function name:  (null)
number of ops:  24
compiled vars:  !0 = $f, !1 = $rf, !2 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'get_defined_functions'
          1        DO_ICALL                                         $3      
          2        FETCH_DIM_R                                      ~4      $3, 'internal'
          3      > FE_RESET_R                                       $5      ~4, ->22
          4    > > FE_FETCH_R                                               $5, !0, ->22
    4     5    >   NEW                                              $6      'ReflectionFunction'
          6        SEND_VAR_EX                                              !0
          7        DO_FCALL                                      0          
          8        ASSIGN                                                   !1, $6
    5     9        INIT_METHOD_CALL                                         !1, 'getParameters'
         10        DO_FCALL                                      0  $9      
         11      > FE_RESET_R                                       $10     $9, ->20
         12    > > FE_FETCH_R                                               $10, !2, ->20
    6    13    >   INIT_METHOD_CALL                                         !2, 'isPassedByReference'
         14        DO_FCALL                                      0  $11     
         15      > JMPZ                                                     $11, ->19
    7    16    >   ECHO                                                     !0
         17        ECHO                                                     '%0A'
    8    18      > JMP                                                      ->20
    5    19    > > JMP                                                      ->12
         20    >   FE_FREE                                                  $10
    3    21      > JMP                                                      ->4
         22    >   FE_FREE                                                  $5
   11    23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
217.96 ms | 1396 KiB | 15 Q