note 112894 added to function.unserialize

From: Date: Sat, 03 Aug 2013 13:05:47 +0000
Subject: note 112894 added to function.unserialize
Groups: php.notes 
Request: Send a blank email to php-notes+get-195861@lists.php.net to get a copy of this message
Just a note - if the serialized string contains a reference to a class that cannot be instantiated (e.g. being abstract) PHP will immediately die with a fatal error. If the unserialize() statement is preceded with a '@' to avoid cluttering the logs with warns or notices there will be absolutely no clue as to why the script stopped working. Cost me a couple of hours... ---- Server IP: 91.118.111.7 Probable Submitter: 80.121.244.222 ---- Manual Page -- http://php.net/manual/en/function.unserialize.php Edit -- https://master.php.net/note/edit/112894 Del: integrated -- https://master.php.net/note/delete/112894/integrated Del: useless -- https://master.php.net/note/delete/112894/useless Del: bad code -- https://master.php.net/note/delete/112894/bad+code Del: spam -- https://master.php.net/note/delete/112894/spam Del: non-english -- https://master.php.net/note/delete/112894/non-english Del: in docs -- https://master.php.net/note/delete/112894/in+docs Del: other reasons-- https://master.php.net/note/delete/112894 Reject -- https://master.php.net/note/reject/112894 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#195861) next »