Log, Logging, Objects and Arrays ?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
On one of the Dev newsgroups  mailing.???  I had seen some comments,
regarding the inability (currently) of PHP to write to a string, as
opposed to direct output from Function like

I'm a bit of a newbie, PHP serialization, but recognize Java has
Object.toString method.   Anything similar, here in PHP ??

I'm looking to build an complete Enterprise Logging System, to use in
debugging, just in-case - haha - I made a typo, during these last 2
months of coding.  (I don't expect anything wrong.)
its a joke ....

Any coders out there subscribe to Extreme Programming theories ?
Any using Unit Testing methods ?   notes: expert articles
http://www.zend.com/php/design/patterns1.php  Matt Zandstra

Links and Ref's most welcome  TIA RJK
i_dvlp at hotmail dot com

Re: Log, Logging, Objects and Arrays ?


Quoted text here. Click to load it

Both print_r() and var_dump() can direct their output to strings. See the  
respective pages in the manual.



Site Timeline