I define a constant
Code: Select all
define('INCDIR','/includes');
Code: Select all
include(INCDIR.DIRECTORY_SEPARATOR."myinclude.php");
INCDIR.DIRECTORY_SEPARATOR."myinclude.php"
which cannot be opened.
I would like it if the php constants (EG: DIRECTORY_SEPARATOR) as well as my defines were to be processed so it would build a proper links to those files.
At least as a first step without having to backtrace code, it would only show a string or variable name.
EG:
in the case above, you would see:
Code: Select all
/includes/myinclude.php
Code: Select all
/includes/$includefile
It would also be nice to use this as a tool tip over them in code to quickly see their definition as well.
Thanks!