|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-02-29 12:32 UTC] msaraujo@php.net
[2008-03-08 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 03:00:01 2025 UTC |
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') {