Re: Re: Cannot package
| From: | Pierre-Alain Joye | Date: | Sat, 17 Jan 2004 12:10:35 +0000 |
| Subject: | Re: Re: Cannot package | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-25118@lists.php.net to get a copy of this message | ||
On Sat, 17 Jan 2004 11:41:32 +0000
Davey <davey@php.net> wrote:
> OK, I've narrowed the error to these lines in PEAR_Common, 1339 -
> 1344:
>
> case T_CLASS:
> if (($current_class_level != -1) ||
> ($current_function_level != -1)) {
> PEAR::raiseError("Parser error: Invalid PHP
> file $file",
> PEAR_COMMON_ERROR_INVALIDPHP);
> return false;
> }
In fact the error raise in SOAP_WSDL::generateProxyCode method.
I missed to find why the parser failed here. There is no syntax errors.
pierre