Valid evaluation of namespace Aliases |
Guru master
|
If you think it is a bug, you should report it rather than put it into Feature Requests
|
||||||||||||
|
Site Admin
|
As far I'm aware, there are no php statements/functions to check namespace aliases. How do you do this in Watch?
|
||||||||||||
_________________ The PHP IDE team |
|
If I define something like that:
A call to Sausage::say() in Immediate Window is not evaluated. I think the problem is to use the Context of the Active Window. |
||||||||||||||||||
Last edited by eutychus on Thu Oct 27, 2016 10:51 am; edited 2 times in total |
|
I'd asked for this a while ago. The answer was "not supported".
Maybe it's time to support it now, dmitri? |
||||||||||||
|
Site Admin
|
Alias is an identifier that is valid in the context it's imported to. Anywhere else, including debugger context, it's invalid. Moreover, it's invalid at run-time.
Try the following without any debuggers:
and you'll get: "Class 'Sausage' not found" that's it. |
||||||||||||||
_________________ The PHP IDE team |
Valid evaluation of namespace Aliases |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by