Req #48970 [Opn->Bgs]: A new function for displaying array
| From: | jani@php.net | Date: | Wed, 24 Nov 2010 14:25:00 +0000 |
| Subject: | Req #48970 [Opn->Bgs]: A new function for displaying array | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-156394@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=48970&edit=1
ID: 48970
Updated by: jani@php.net
Reported by: SaharshTibrewal at gmail dot com
Summary: A new function for displaying array
-Status: Open
+Status: Bogus
Type: Feature/Change Request
Package: *General Issues
Operating System: *
PHP Version: 5.3.0
Block user comment: N
Private report: N
New Comment:
Easy to do yourself, and having any format you want. :)
Previous Comments:
------------------------------------------------------------------------
[2009-07-18 19:37:55] SaharshTibrewal at gmail dot com
Description:
------------
This is a short enhancement of print_r
Reproduce code:
---------------
---
From manual page: internals2.ze3
---
<?PHP
function print_pre($array)
{
echo "<PRE>";
echo print_r($array);
echo "</PRE>";
}
?>
Expected result:
----------------
This will show the array in a formatted way
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=48970&edit=1