Re: [PHP4BETA] Upgrading!
| From: | Sascha Schumann | Date: | Mon, 20 Sep 1999 21:37:57 +0000 |
| Subject: | Re: [PHP4BETA] Upgrading! | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-4709@lists.php.net to get a copy of this message | ||
On Mon, Sep 20, 1999 at 05:30:20PM -0400, AsianAvenue.com wrote:
> We are starting to mess around with PHP4 b2......our application API
> written entirely in PHP 3, fails on the following line:
>
> if ( ! EREG( "([^[:space:]]{$maxLength,})", $string ) ) {
^^^^^^^^^^^^^^
rewrite to
> if ( ! EREG( "([^[:space:]]{".$maxLength.",})", $string ) )
> {
^^ ^^
> return $string ;
> }
>
> The error message is:
>
> Parse error: parse error, expecting `'}'' in
> /web/CCI/BP/phpinclude/Text/lib/utils.php on line 748
>
> We have written and deployed this in PHP 3.0.11. Any clues?
>
>
> --
> PHP 4 Beta
--
Regards,
Sascha Schumann
Consultant