PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » PEAR » PEAR » Bug #619

Warnings from PhpEclipse in Common.php

Details

Submitted2004-01-24 11:17 UTC
Frompear-01 at oliverklee dot de
StatusBogus
PackagePEAR
PHP VersionIrrelevant
OSLinux
Roadmaps(Not assigned)

Comments

[2004-01-24 11:17 UTC] pear-01 at oliverklee dot de

Description:
------------
(Using PEAR 1.3b5)

PhpEclipse show the following errors/warnings for Common.php:

Line 137: Error ')' expected after 'if' condition.
if ($info['arg']{0} == '(') {

Line 198: Error ')' expected after 'if' condition.
if ($v['arg']{0} == '(') {

Line 247: Error Too many closing '}'; end-of-file not reached.
}

I don't know if these errors are valid and whether they should be fixed or at least silenced.

The third error could be a result of the PHP parser in PhpEclipse getting confused by the first two warnings.