note 104324 added to function.unserialize

From: Date: Thu, 09 Jun 2011 08:50:38 +0000
Subject: note 104324 added to function.unserialize
Groups: php.notes 
Request: Send a blank email to php-notes+get-180349@lists.php.net to get a copy of this message
If you are storing serialized objects that persists between pageviews and you are using an autoloader, things may fall apart. By default, when unserializing PHP will not call the autoloader when it discovers an unknown class. This can be fixed easily with the following directive in php.ini unserialize_callback_func = 'spl_autoload_call' ---- Server IP: 69.147.83.197 Probable Submitter: 87.213.99.206 ---- Manual Page -- http://www.php.net/manual/en/function.unserialize.php Edit -- https://master.php.net/note/edit/104324 Del: integrated -- https://master.php.net/note/delete/104324/integrated Del: useless -- https://master.php.net/note/delete/104324/useless Del: bad code -- https://master.php.net/note/delete/104324/bad+code Del: spam -- https://master.php.net/note/delete/104324/spam Del: non-english -- https://master.php.net/note/delete/104324/non-english Del: in docs -- https://master.php.net/note/delete/104324/in+docs Del: other reasons-- https://master.php.net/note/delete/104324 Reject -- https://master.php.net/note/reject/104324 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#180349) next »