3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('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/AJVaV
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'WTF'
          2        SEND_VAL                                                 'wtf'
          3        DO_ICALL                                                 
    7     4        NEW                                              $1      'WTF'
          5        INIT_FCALL                                               'wtf'
          6        FETCH_CONSTANT                                   ~2      'WTF'
          7        SEND_VAL                                                 ~2
          8        DO_FCALL                                      0  $3      
          9        SEND_VAR_NO_REF_EX                                       $3
         10        DO_FCALL                                      0          
         11        FREE                                                     $1
         12      > RETURN                                                   1

Function wtf:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AJVaV
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/AJVaV
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:
140.86 ms | 1402 KiB | 16 Q