This Old Spoon
Notes For Myself
Monday, August 12, 2013
var_dump to file
There aren't enough links to doing this correctly from this search term.
Are you trying to var_dump to a text file? You are doing it wrong.
file_put_contents('/tmp/dump', var_export($data, true), FILE_APPEND);
There I just saved you some time.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment