note 42926 added to function.var-export

From: Date: Thu, 03 Jun 2004 21:27:14 +0000
Subject: note 42926 added to function.var-export
Groups: php.notes 
Request: Send a blank email to php-notes+get-70576@lists.php.net to get a copy of this message
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... ---- Manual Page -- http://www.php.net/manual/en/function.var-export.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+42926 Delete -- http://master.php.net/manage/user-notes.php?action=delete+42926&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+42926&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#70576) next »