#39635 [NEW]: Better control for serialization (keyword for permit property serialization)
| From: | t dot prochazka at centrum dot cz | Date: | Sun, 26 Nov 2006 11:40:40 +0000 |
| Subject: | #39635 [NEW]: Better control for serialization (keyword for permit property serialization) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-105444@lists.php.net to get a copy of this message | ||
From: t dot prochazka at centrum dot cz
Operating system: all
PHP version: 5CVS-2006-11-26 (CVS)
PHP Bug Type: Feature/Change Request
Bug description: Better control for serialization (keyword for permit property serialization)
Description:
------------
PHP has no advanced support for serialization.
I think, that is problem, that PHP serialize all properties. What about
add single keyword (as transient) for property which can't be
serializable?
Example:
class Foo {
public $a;
public transient $b;
}
Description of Java transient keyword:
http://java.sun.com/docs/books/jls/second_edition/html/classes.doc.html#78119
--
Edit bug report at http://bugs.php.net/?id=39635&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39635&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39635&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39635&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39635&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=39635&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=39635&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=39635&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=39635&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=39635&r=support
Expected behavior: http://bugs.php.net/fix.php?id=39635&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=39635&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=39635&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39635&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39635&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39635&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=39635&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=39635&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=39635&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=39635&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=39635&r=mysqlcfg