# PHP 5 Beta 3

- Thread: https://externals.io/message/5410
- Original archive: https://news-web.php.net/php.internals/5410
- Started by l0t3k on 2003-11-13T05:22:31+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #5410 — l0t3k — 2003-11-13T05:22:31+00:00

URL: https://externals.io/message/5410#5410

Two things that need fixing :
    1. support for class constants for internal classes. Christiano has
already posted a patch.
    2. session support for internal classes. should we have a Serializable
interface which classes inherit, or have sleep and wakeup
        handlers in the zend_object_handlers structure ?


l0t3k

---

## #5414 — Andi Gutmans — 2003-11-13T06:42:09+00:00

URL: https://externals.io/message/5410#5414 · In reply to: #5410

At 12:22 AM 11/13/2003 -0500, l0t3k wrote:
>Two things that need fixing :
>     1. support for class constants for internal classes. Christiano has
>already posted a patch.

I applied his patch. As I told him I don't think persistent internal 
classes across requests will be supported with all the bells and whistles. 
In general they should work but I expect more problems to be found such as 
not being able to initialize constants with arrays (which is no big deal IMO).

>     2. session support for internal classes. should we have a Serializable
>interface which classes inherit, or have sleep and wakeup
>         handlers in the zend_object_handlers structure ?

I guess it's possible. In most cases I think internal classes won't be 
serialized though, such as COM. I don't think it needs fixing though. It's 
something which can be added whenever...

Andi
