ID: 44291
Updated by: [EMAIL PROTECTED]
Reported By: danil dot megrabjan at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Strings related
Operating System: openSuSE-10.2
PHP Version: 5.2.5
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
Hello,
Can you please give us the whole script in order to reproduce your
code($array variable for instance)?
Thanks
Previous Comments:
------------------------------------------------------------------------
[2008-02-29 12:07:05] danil dot megrabjan at gmail dot com
Description:
------------
I try to print some `print_r` string with nl2br.
Reproduce code:
---------------
$a = print_r($array, true);
echo nl2br($a);
Expected result:
----------------
nl to br converting in strings of each array element.
Actual result:
--------------
0xb768d4db in zif_nl2br (ht=1, return_value=0x80252ac4,
return_value_ptr=0x0, this_ptr=0x0, return_value_used=1) at
/home/INFIN/megrabjan/Downloads/php-5.2.5/ext/standard/string.c:3845
3845 if (*str == '\r') {
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44291&edit=1