ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-Dev
php-Dev
[PHP-DEV] Bug #11798 Updated: "svar_dump()" wanted
by other posts by this author
Dec 9 2001 12:33PM messages near this date
Bug #14392 Updated: Problem #13593 also present in 4.1.0RC4 | [PHP-DEV] Bug #14391: gmmktime, gmdate work incorrect
ID: 11798
Updated by: sander
Reported By: oyvindmo@[...].no
Old Status: Open
Status: Closed
Bug Type: Feature/Change Request
Operating System: any
PHP Version: 4.0 Latest CVS (2001-06-29)
New Comment:

Derick just added a new function called var_export which does exactly what you want. It will
 be in PHP-4.2.0.

Previous Comments:
------------------------------------------------------------------------

[2001-06-29 05:54:42] oyvindmo@[...].no

It would be very nice to have a var_dump() that returns the variable dump as a string instea
d of printing it.  Using var_dump() for verbose logging is mighty handy, but having to (ab)u
se output buffering to catch the var dump feels bad.

(I looked briefly at the implementation of var_dump(), and making a "svar_dump()" seemed out
 of my C league, unfortunately.)


------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=11798&edit=1


-- 
PHP Development Mailing List <http://www.php.net/> 
To unsubscribe, e-mail: php-dev-unsubscribe@[...].net
For additional commands, e-mail: php-dev-help@[...].net
To contact the list administrators, e-mail: php-list-admin@lists.php.net

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved