3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c = new ReflectionFunction('phpinfo'); $p = 'phpinfo'; $a = new $c($p); echo $a;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FiVGV
function name:  (null)
number of ops:  12
compiled vars:  !0 = $c, !1 = $p, !2 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $3      'ReflectionFunction'
          1        SEND_VAL_EX                                              'phpinfo'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $3
    4     4        ASSIGN                                                   !1, 'phpinfo'
    5     5        FETCH_CLASS                                   0  $7      !0
          6        NEW                                              $8      $7
          7        SEND_VAR_EX                                              !1
          8        DO_FCALL                                      0          
          9        ASSIGN                                                   !2, $8
    6    10        ECHO                                                     !2
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.2 ms | 1384 KiB | 13 Q