This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 220822

Summary: Value of a constant including a constant
Product: php Reporter: Anael
Component: EditorAssignee: Ondrej Brejla <obrejla>
Status: NEW ---    
Severity: normal CC: amobilia
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Anael 2012-10-25 09:45:04 UTC
The in-line help (Ctrl + Shift + Space) don't display - on the pop-up - the value of a constant defined by including another constant.

Exemple :

define('FOO', 'bar');
echo FOO;

define('BAR', FOO . 'bar');
echo BAR;
If I show the inline help (Ctrl + Shift + Space) on the FOO, the pop-up show "FOO = bar" .

If I show the inline help (Ctrl + Shift + Space) on the BAR, the pop-up show "BAR = ?" .
As if the software doesn't resolve the use of a constant on a define !

I try both on the 7.2 and the 7.3 beta version, some behaviour.

Comment 1 amobilia 2016-09-22 17:31:25 UTC
Reproductible in 8.2rc / Dev 201609210002