note 42926 deleted from function.var-export by aidan
| From: | aidan@php.net | Date: | Wed, 09 Jun 2004 10:47:15 +0000 |
| Subject: | note 42926 deleted from function.var-export by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-70633@lists.php.net to get a copy of this message | ||
Note Submitter: John Holmes
----
Quote
===
If you are trying to find a way to temporarily save variables into some other file, check out
serialize() and unserialize() instead - this one is more useful for its readable property, very
handy while debugging.
===
True, but that method would require you to open and read the file into a variable and then
unserialize it into another variable.
Using a file created with var_export() could simply be include()'d, which will be less code and
faster.
---John Holmes...