Hello Michael,

Tuesday, August 9, 2005, 2:19:25 PM, you wrote:

> I wrote:

>> Therefore I'd suggest changing that so that they'll be
>> initialized and destructed for each request, which means
>> that there will need to be some form of hooks, which

> Let me change that part... :)

> There's no need for any "hooks" as there's already
> RINIT() and RSHUTDOWN(), so I guess all I'm proposing
> is not handling static properties of internal classes
> persitently.

class consts should be easy and we two times had a patch for that.
And i definitively ask to support that since otherwise we flood our
namespace, see pdo, spl and the amount of defines there. With a peep
to pecl i see tons of more consts (especially in http).

regarding static props the solution is to define another hash table
in the class_entry that holdes the initial values for the static
variables. During minit these would be copied to the used hash table,
done. But even though the solution is pretty easy i do not know if we
really want to support that. We have default properties and all that
stuff already. Can't we simply check if default values for static
properties wouldn't do the job and if there is something missing in that?

Andi?

Best regards,
 Marcus

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to