php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #48970 A new function for displaying array
Submitted: 2009-07-18 19:37 UTC Modified: 2010-11-24 15:24 UTC
Votes:4
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:3 (100.0%)
From: SaharshTibrewal at gmail dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.3.0 OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: SaharshTibrewal at gmail dot com
New email:
PHP Version: OS:

 

 [2009-07-18 19:37 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-11-24 15:24 UTC] jani@php.net
-Package: Feature/Change Request +Package: *General Issues -Operating System: Does it matter? +Operating System: *
 [2010-11-24 15:24 UTC] jani@php.net
-Status: Open +Status: Bogus
 [2010-11-24 15:24 UTC] jani@php.net
Easy to do yourself, and having any format you want. :)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jun 13 10:01:33 2024 UTC