Bug #1625: ereg complains about a snippit of code that worked fine in 3.0.9
| From: | danbeck at scott dot net | Date: | Tue, 29 Jun 1999 14:56:22 +0000 |
| Subject: | Bug #1625: ereg complains about a snippit of code that worked fine in 3.0.9 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-7810@lists.php.net to get a copy of this message | ||
From: danbeck@scott.net
Operating system: Linux 2.0.36 (RedHat 5.2)
PHP version: 3.0.11
PHP Bug Type: Parser error
Bug description: ereg complains about a snippit of code that worked fine in 3.0.9
The following two lines of code issue a warning about "Premature end of regular
expression"
ereg($onum, $order_array[$x][0], $regs)
and
ereg($onum, $order_array[$key_orders][0], $regs)
The $order_array... arrays only contain a short string, usually numbers This worked great in 3.0.9,
but since I've just recently upgraded to 3.0.11 the other day, it's been issuing this
warning.