ID: 12368
Updated by: sander
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: Regexps related
Operating System: Linux
PHP Version: 4.0.4pl1
New Comment:
Unable to reproduce, see the following code:
<?php
$string = str_repeat("0", 10000)."abc".str_repeat("0", 10000);
echo ereg("abc", $string)?"true":"false";
?>
Returns true.
Can you post a snippet of your code?
Previous Comments:
------------------------------------------------------------------------
[2001-07-25 11:51:09] [EMAIL PROTECTED]
hi
I used the regexp functions (ereg and eregi) to split a file in blocks, the delimiters
are somthing like:
<!-- BEGIN BLOCK: main -->
<!-- END BLOCK: main -->
but the split operation failt if the file size is bigger then (aproximative value) 11k
So, this is a bug or this was already specified in some place?
Stefan
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12368&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]