Re: [PHP4BETA] changes in var.c regarding bool's
| From: | Stig Bakken | Date: | Thu, 01 Jul 1999 09:36:45 +0000 |
| Subject: | Re: [PHP4BETA] changes in var.c regarding bool's | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1775@lists.php.net to get a copy of this message | ||
On Thu, 1 Jul 1999, Thies C. Arntzen wrote:
> hi, some changes to var.c
>
>
> var_dump(false) -> "bool(false)";
> serialize(false) -> "b:0;"
> unserialize can now recreate bools!
Hm. It would be cool to let each list resource define functions for
storing and retrieving a serialized representation of itself. Then
sessions can maintain database connections and all sorts of other stuff
for you, regardless of whether they are persistent or not.
- Stig (high protector of lazy coders)