3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(0); 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/qSYPm
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 0
          2        DO_ICALL                                                 
    5     3        DECLARE_CONST                                            'WTF', <const ast>
    9     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/qSYPm
function name:  WTF
number of ops:  3
compiled vars:  !0 = $wtf
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     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/qSYPm
function name:  wtf
number of ops:  3
compiled vars:  !0 = $wtf
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     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:
152.76 ms | 1398 KiB | 16 Q