Re: [PHP-DEV] stdClass

2004-02-27 Thread Michael Walter
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

Re: [PHP-DEV] stdClass

2004-02-27 Thread Michael Walter
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

Re: [PHP-DEV] stdClass

2004-02-27 Thread Jakes
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

Re: [PHP-DEV] stdClass

2004-02-27 Thread Hartmut Holzgraefe
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

Re: [PHP-DEV] stdClass

2004-02-27 Thread Hartmut Holzgraefe
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-

Re: [PHP-DEV] stdClass

2004-02-27 Thread Jakes
counting garbage > collector? > > Cheers, > Michael > > > > > - Original Message - > > From: "Jakes Potgieter" <[EMAIL PROTECTED]> > > Newsgroups: php.internals > > To: <[EMAIL PROTECTED]> > > Cc: <[EMAIL PROTECTED]>

Re: [PHP-DEV] stdClass

2004-02-27 Thread Michael Walter
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

Re: [PHP-DEV] stdClass

2004-02-27 Thread Jakes
]> 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

Re: [PHP-DEV] stdClass

2004-02-27 Thread Jakes Potgieter
; 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

Re: [PHP-DEV] stdClass

2004-02-27 Thread Hartmut Holzgraefe
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

Re: [PHP-DEV] stdClass

2004-02-27 Thread Michael Walter
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

Re: [PHP-DEV] stdClass

2004-02-27 Thread Jakes Potgieter
]> 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 > >

RE: [PHP-DEV] stdClass

2004-02-27 Thread Stephan Schmidt
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

Re: [PHP-DEV] stdClass

2004-02-27 Thread Stig S. Bakken
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

[PHP-DEV] stdClass

2004-02-27 Thread Jakes
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?