|
[ phpeclipse-Bugs-1450608 ] Parser mistaking (Integer) casting in method ca: msg#00058ide.eclipse.phpeclipse.devel
Bugs item #1450608, was opened at 2006-03-15 19:56 Message generated for change (Settings changed) made by bananeweizen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1450608&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: Closed >Resolution: Invalid Priority: 5 Submitted By: Rob (rbarreca) Assigned to: Nobody/Anonymous (nobody) Summary: Parser mistaking (Integer) casting in method call for error. Initial Comment: This line of code incorrectly gives a parser error. I'm on Eclipse 3.1.2 and PHPeclipse CVS20060223. Code: phpCAS::client($CFG->cas_version,$CFG->cas_hostname,(Integer)$CFG->cas_port,$CFG->cas_baseuri); Error: Parser error "')' expected in function call (phpCAS)." ---------------------------------------------------------------------- >Comment By: Bananeweizen (bananeweizen) Date: 2006-04-23 16:45 Message: Logged In: YES user_id=440739 Closing as invalid. ---------------------------------------------------------------------- Comment By: Luis Bernardo (lmpmbernardo) Date: 2006-04-07 07:28 Message: Logged In: YES user_id=137011 casting is done with (int) or (integer) but NOT (Integer). see http://www.php.net/manual/en/language.types.type-juggling.php. I get the error you mention when using (Integer) but not when using the other correct options. I don't think this is a bug. It is true that php -l does not complain about the syntax but I still think this is not a bug. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1450608&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> |
|---|---|---|
| Previous by Date: | [ phpeclipse-Bugs-1434118 ] $this->returz as variable causes error messag: 00058, SourceForge.net |
|---|---|
| Next by Date: | [ phpeclipse-Bugs-1475484 ] code formatter with function calls in array(): 00058, SourceForge.net |
| Previous by Thread: | [ phpeclipse-Bugs-1450608 ] Parser mistaking (Integer) casting in method call for error.i: 00058, SourceForge.net |
| Next by Thread: | new CVS snapshot phpeclipse-1.1.8-cvs-20060407 is out: 00058, Mike |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |