3v4l.org

run code in 300+ PHP versions simultaneously
<?php function printuser() { var_dump("here"); } $myFunction = 'printuser()'; $myFunction = rtrim($myFunction, "()"); $myFunction(); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZJ8ol
function name:  (null)
number of ops:  9
compiled vars:  !0 = $myFunction
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ASSIGN                                                   !0, 'printuser%28%29'
    7     1        INIT_FCALL                                               'rtrim'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 '%28%29'
          4        DO_ICALL                                         $2      
          5        ASSIGN                                                   !0, $2
    9     6        INIT_DYNAMIC_CALL                                        !0
          7        DO_FCALL                                      0          
   11     8      > RETURN                                                   1

Function printuser:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZJ8ol
function name:  printuser
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'var_dump'
          1        SEND_VAL                                                 'here'
          2        DO_ICALL                                                 
    5     3      > RETURN                                                   null

End of function printuser

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.01 ms | 1394 KiB | 17 Q