Hartmut Holzgraefe wrote:
Jakes wrote:
Oh, yes and special methods that you mentioned would come in handy too
but from a object perspective. Maybe explicitly calling some sort
finalize()
method to clean un-referenced objects would also be handy.
finalize() is one of the worst concepts of JAVA
Jakes wrote:
cool, Im going to look more into the engine to see the working.
I suppose PHP it isn't as memory intensive as JAVA
Quick question, does the zend engine have a garbage collector
while we are on the topic?
As said, it uses reference counting.
Cheers,
Michael
"Hartmut Holzgraefe" <[EMA
cool, Im going to look more into the engine to see the working.
I suppose PHP it isn't as memory intensive as JAVA
Quick question, does the zend engine have a garbage collector
while we are on the topic?
"Hartmut Holzgraefe" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Jakes wrot
Jakes wrote:
You calling it from the base so cleaning you be easier than
looking for object referenced variables and setting them to null.
Working in a large class hierarchy it could get painful.
__destruct()
and as far as object references in variables are concerned:
the engine destructs all inst
Jakes wrote:
Oh, yes and special methods that you mentioned would come in handy too
but from a object perspective. Maybe explicitly calling some sort finalize()
method to clean un-referenced objects would also be handy.
finalize() is one of the worst concepts of JAVA that i can think of:
a somehow-
counting garbage
> collector?
>
> Cheers,
> Michael
>
> >
> > - Original Message -
> > From: "Jakes Potgieter" <[EMAIL PROTECTED]>
> > Newsgroups: php.internals
> > To: <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
collector?
Cheers,
Michael
- Original Message -
From: "Jakes Potgieter" <[EMAIL PROTECTED]>
Newsgroups: php.internals
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; "Stephan Schmidt" <[EMAIL PROTECTED]>
Sent: Friday, February 27, 2004 4:42 PM
Subjec
]>
Newsgroups: php.internals
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; "Stephan Schmidt" <[EMAIL PROTECTED]>
Sent: Friday, February 27, 2004 4:42 PM
Subject: Re: [PHP-DEV] stdClass
> When Im talking about something like this would come in handy
> obviously doe
;
print $obj->doSomething();
- Original Message -
From: "Hartmut Holzgraefe" <[EMAIL PROTECTED]>
To: "Jakes Potgieter" <[EMAIL PROTECTED]>
Cc: "Stephan Schmidt" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, Februar
Jakes Potgieter wrote:
It would be nice to have a base class to inherit some special
methods as we do in Java.
could you name which ones you think of?
being out of the JAVA camp for several years know i no longer
know all java.object methods and properties by heart, but
PHP mechanisms like __sle
nals
To: "'Jakes'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, February 27, 2004 3:46 PM
Subject: RE: [PHP-DEV] stdClass
Hi,
Please can some explain to me what the stdClass is used for in
PHP 5. I've tried to use the reflection API to rev
]>
Newsgroups: php.internals
To: "'Jakes'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, February 27, 2004 3:46 PM
Subject: RE: [PHP-DEV] stdClass
> Hi,
>
> > > Please can some explain to me what the stdClass is used for in
> >
Hi,
> > Please can some explain to me what the stdClass is used for in
> > PHP 5. I've tried to use the reflection API to reverse engineer it
> > but it does not give you much on the stdClass
> No. There is no such thing as Java's base class built into PHP.
> stdClass is just an empty "dummy cl
On Fri, 2004-02-27 at 14:15, Jakes wrote:
> Please can some explain to me what the stdClass is used for in
> PHP 5. I've tried to use the reflection API to reverse engineer it
> but it does not give you much on the stdClass
>
> What methods can be inherited from this class?
>
> Does it work the
Please can some explain to me what the stdClass is used for in
PHP 5. I've tried to use the reflection API to reverse engineer it
but it does not give you much on the stdClass
What methods can be inherited from this class?
Does it work the same was as the java base class - Object?
15 matches
Mail list logo