3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace A { /** * My magic test class * * @return \DateTime */ function getdate() { return 'what_ever'; } echo \getdate(); // ctrl + click on getdate, should go to date.php stubs. Hover is also invalid. This looks like a problem with selection engine }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8Ybg4
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   INIT_FCALL                                               'getdate'
          1        DO_ICALL                                         $0      
          2        ECHO                                                     $0
   12     3      > RETURN                                                   1

Function a%5Cgetdate:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8Ybg4
function name:  A\getdate
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E > > RETURN                                                   'what_ever'
   10     1*     > RETURN                                                   null

End of function a%5Cgetdate

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.51 ms | 1398 KiB | 15 Q