logo       

[ phpeclipse-Bugs-1477978 ] DEFINE is not parset correctly: msg#00065

ide.eclipse.phpeclipse.devel

Subject: [ phpeclipse-Bugs-1477978 ] DEFINE is not parset correctly

Bugs item #1477978, was opened at 2006-04-27 14:53
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1477978&group_id=57621

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: PHP Parser
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Hertzel (emudojo)
Assigned to: Nobody/Anonymous (nobody)
Summary: DEFINE is not parset correctly

Initial Comment:
When you have some code like this

define('MAX_CONNECTION_STATUS_IGNORE', 1);
define('MAX_CONNECTION_STATUS_PENDING', 2);
define('MAX_CONNECTION_STATUS_ONHOLD', 3);
define('MAX_CONNECTION_STATUS_APPROVED', 4);
define('MAX_CONNECTION_STATUS_DISAPPROVED', 5);
define('MAX_CONNECTION_STATUS_DUPLICATE', 6);


$GLOBALS['_MAX']['STATUSES'] = array(
MAX_CONNECTION_STATUS_IGNORE =>
'strStatusIgnore', // start value
MAX_CONNECTION_STATUS_PENDING =>
'strStatusPending', // start value
MAX_CONNECTION_STATUS_ONHOLD =>
'strStatusOnHold',
MAX_CONNECTION_STATUS_APPROVED =>
'strStatusApproved', // start value
MAX_CONNECTION_STATUS_DISAPPROVED =>
'strStatusDisapproved',
MAX_CONNECTION_STATUS_DUPLICATE =>
'strStatusDuplicate',
);

PHPeclipse underline the keys of the
$GLOBALS['_MAX']['STATUSES'] array, because for
Phpeclipse those GLOBAL variables haven't been
initialized. I have in my include path the folder
containing this file.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1477978&group_id=57621


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise