3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c = 'ReflectionFunction'; $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/t7VEA
function name:  (null)
number of ops:  9
compiled vars:  !0 = $c, !1 = $p, !2 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'ReflectionFunction'
    4     1        ASSIGN                                                   !1, 'phpinfo'
    5     2        FETCH_CLASS                                   0  $5      !0
          3        NEW                                              $6      $5
          4        SEND_VAR_EX                                              !1
          5        DO_FCALL                                      0          
          6        ASSIGN                                                   !2, $6
    6     7        ECHO                                                     !2
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.9 ms | 1397 KiB | 13 Q