3v4l.org

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

Function a%5Cgetdate:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pblma
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:
155.19 ms | 1394 KiB | 15 Q