Re: visibility + unserialization
| From: | Ted Wood | Date: | Mon, 26 May 2008 15:32:09 +0000 |
| Subject: | Re: visibility + unserialization | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-274701@lists.php.net to get a copy of this message | ||
Small correction on my details:
Actual Result:
----------------------
object(Foo) {
["bar:protected"]=>
string(0) "banana"
["bar"]=>
string(6) ""
}
The value of my existing field, which has since been given "protected" visibility, is now stored in the "bar:protected" field after deserialization, and thus not accessible to the application code.
~Ted