3v4l.org

run code in 300+ PHP versions simultaneously
<?php const WTF = WTF; function WTF($wtf) { return $wtf; } class WTF { function wtf($wtf) { echo $wtf; } } new WTF(WTF(WTF));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GQ7D8
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_CONST                                            'WTF', <const ast>
    7     1        NEW                                              $0      'WTF'
          2        INIT_FCALL                                               'wtf'
          3        FETCH_CONSTANT                                   ~1      'WTF'
          4        SEND_VAL                                                 ~1
          5        DO_FCALL                                      0  $2      
          6        SEND_VAR_NO_REF_EX                                       $2
          7        DO_FCALL                                      0          
          8        FREE                                                     $0
          9      > RETURN                                                   1

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

End of function wtf

Class WTF:
Function wtf:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GQ7D8
function name:  wtf
number of ops:  3
compiled vars:  !0 = $wtf
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1        ECHO                                                     !0
          2      > RETURN                                                   null

End of function wtf

End of class WTF.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.11 ms | 1397 KiB | 14 Q