Would it make since to have a #define PHP_MALIAS ZEND_MALIAS in php.h?
Reason being is CODING_STANDARDS #6, where it says to use PHP_* macros in
PHP code and ZEND_* in zend code. A few of my classes need to make use of
ZEND_MALIAS and there is no PHP_* equivalent (that I could find).
Bob Silva
> Ah so it is just a little bit more enforcement then the following:
>
> final class DB
> {
> // prevent instantiation
> private function __construct() { exit(0); }
>
> // The following is not needed because the constructor cannot be
called
> // private function __clone() { exit(0)
Hello Michael,
Wednesday, September 29, 2004, 11:44:04 AM, you wrote:
>> > 2. final classes:
>> > final classes can't be extended
>>
>> already supported
> Cannot find it in the docs.
> http://www.php.net/manual/en/language.oop5.final.php doesn't seem to have
> any comments on that.
> I'm not a
it seems to me that the documentation pointed to is a little out of
date, at least the part about reflection is using 'old' (read:
notStudlyCapsCS) class names - might be worth fixing that to avoid a
hundred-thousand emails along the lines of 'reflection is broken'.
kind regards,
Jochem
ps - I
Michael Virnstein wrote:
2. final classes:
final classes can't be extended
already supported
Cannot find it in the docs.
http://www.php.net/manual/en/language.oop5.final.php doesn't seem to have
any comments on that.
I'm not at home at the moment, so i couldn't try, but are you really s
[EMAIL PROTECTED] wrote:
Thanks! What would probably be a good thing, is to mention that in the docs
for the final keyword.
Make the constructor private and the class final. No instance will be
available,
and no inheritance possible. Methods has to work, and therefore they may
not
expect to have
Michael Virnstein wrote:
>>> 2. final classes:
>>> final classes can't be extended
>>
>>
>> already supported
>
>
>
> Cannot find it in the docs.
> http://www.php.net/manual/en/language.oop5.final.php doesn't seem to have
> any comments on that.
> I'm not at home at the moment, so i couldn't try, b
> > 2. final classes:
> > final classes can't be extended
>
> already supported
Cannot find it in the docs.
http://www.php.net/manual/en/language.oop5.final.php doesn't seem to have
any comments on that.
I'm not at home at the moment, so i couldn't try, but are you really sure
that final CLASSES
On Tue, 28 Sep 2004 18:03:34 +0100, Russ Garrett wrote:
> It hasn't, and we're still getting the problem detailed in my initial
> post: in short, every so often a process will eat 25% of the RAM and hang.
> After a while, so many of these processes accumulate that they bring the
> server down.
>
>