Re: New destructors implementation
| From: | Red Wingate | Date: | Mon, 09 Feb 2004 22:11:27 +0000 |
| Subject: | Re: New destructors implementation | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7684@lists.php.net to get a copy of this message | ||
I guess the way the implementation works is quite fine. But i guess leaving
the calls in a random order gives the use of the destructors a quite bad
taste. The current implementation leaves many room for 'try and error'
writing of code as you are almost unable to make things work the way
you would expect them to.
> You are getting into coding style now.
> The bottom line is that there are lots of different ways of writing code
> and many ppl do different stuff and often odd stuff.
> We think the solution that exists today is most likely to suit the largest
> amount of PHP users.
> The same way you are complaining ppl will complain if they can't access
> $GLOBALS[] from the destructor.
>
> Andi