3v4l.org

run code in 300+ PHP versions simultaneously
<?php class User {} class Request {} function doStuff(Request $r) { // ... } $u = new User(); doStuff($u);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/835g5
function name:  (null)
number of ops:  7
compiled vars:  !0 = $u
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   NEW                                              $1      'User'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   12     3        INIT_FCALL                                               'dostuff'
          4        SEND_VAR                                                 !0
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

Function dostuff:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/835g5
function name:  doStuff
number of ops:  2
compiled vars:  !0 = $r
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
    8     1      > RETURN                                                   null

End of function dostuff

Class User: [no user functions]
Class Request: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.6 ms | 1396 KiB | 14 Q