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 - Value of a constant including a constant
Summary: Value of a constant including a constant
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-25 09:45 UTC by Anael
Modified: 2016-09-22 17:31 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 :
------------
<?php

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.

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