php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19858 nl2br incorrect return
Submitted: 2002-10-11 05:22 UTC Modified: 2002-10-11 07:51 UTC
From: vvtk at www dot stealthcomp dot com Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.3.0-pre1 OS: RedHat 7.1
Private report: No CVE-ID: None
 [2002-10-11 05:22 UTC] vvtk at www dot stealthcomp dot com
$e = "test";
echo nl2br($e);

I get very strange output.

HOW="--with-apxs=/usr/local/apache/bin/apxs --with-pfpro"
./configure $HOW --enable-inline-optimization \
    --with-mysql\
    --enable-track-vars \
    --disable-debug --disable-pic \
    --disable-ctype \
    --disable-mbstring \
    --disable-xml \
    --disable-tokenizer \
    --with-zlib \
    --enable-sysvshm --enable-sysvsem --enable-shmop \
    --enable-costaid \
    --with-mm \
    --with-imap=/usr/install/imap-2002.RC5 \
    --with-gdbm \
    --with-oci8 --enable-sigchild \
    --without-gd \
    --with-curl \
    --with-dom-exslt --with-dom-xslt --with-dom

Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-11 05:25 UTC] tal@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

 [2002-10-11 05:25 UTC] jan@php.net
can you please also paste the output?
 [2002-10-11 05:33 UTC] vvtk at www dot stealthcomp dot com
Output each times difference.
For example:
1 time:
?3
2 time:
\
 [2002-10-11 05:47 UTC] jan@php.net
I get no output on FreeBSD 4.6. CVS from four weeks ago works as expected. Marking critical.
 [2002-10-11 07:51 UTC] sander@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Aug 15 20:01:27 2024 UTC