PHP 4.0 Bug #7469: Irregularity between 'identical' expressions
| From: | john at vbulletin dot com | Date: | Wed, 25 Oct 2000 23:06:18 +0000 |
| Subject: | PHP 4.0 Bug #7469: Irregularity between 'identical' expressions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-36020@lists.php.net to get a copy of this message | ||
From: john@vbulletin.com
Operating system: Linux
PHP version: 4.0.2
PHP Bug Type: *Regular Expressions
Bug description: Irregularity between 'identical' expressions
<?
$wordwrap="100";
echo eregi_replace("([^\n\r \\./<>\"\\-]{$wordwrap})"," \\1
","$1000");
// outputs $100 0
echo eregi_replace("([^\n\r \\./<>\"\\-]{".$wordwrap."})"," \\1
","$1000");
//outputs $1000
?>
For output, see:
http://linux1371.dn.net/test.php
I'm not sure what else you need. I can provide most things.
PHP Info:
http://linux1371.dn.net/phpinfo.php
Thanks,
John
--
Edit Bug report at: http://bugs.php.net/?id=7469&edit=1