From:             [EMAIL PROTECTED]
Operating system: Linux glibc 2.2
PHP version:      4.0CVS-2001-09-21
PHP Bug Type:     Strings related
Bug description:  nl2br hangs on specific strings

bbonev@orange:~/php/php4$ ./php
<? echo nl2br("asd\n\ndsa\r\rqwe\r\n\newq\n\r\r") ?>

X-Powered-By: PHP/4.0.8-dev
Content-type: text/html

<br>
<b>Fatal error</b>:  Maximum execution time of 30 seconds exceeded in
<b>-</b> on line <b>1</b><br>

btw. i have noticed this while trying to rewrite nl2br to be faster and
more compatible.
-- 
Edit bug report at: http://bugs.php.net/?id=13385&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]

Reply via email to