Re: [PHP-DEV] Cleanup and maintenance of internal C code

2007-11-22 Thread Antony Dovgal
On 23.11.2007 09:25, Andy Lester wrote: > On Nov 23, 2007, at 12:19 AM, Antony Dovgal wrote: > >> Take a look at 5_3 and HEAD, we've done this already a couple of >> months ago: >> http://news.php.net/php.cvs/46317 > > > So I see. That's a good sign. There's still plenty of other places >

Re: [PHP-DEV] Cleanup and maintenance of internal C code

2007-11-22 Thread Andy Lester
On Nov 23, 2007, at 12:19 AM, Antony Dovgal wrote: Take a look at 5_3 and HEAD, we've done this already a couple of months ago: http://news.php.net/php.cvs/46317 So I see. That's a good sign. There's still plenty of other places to hit, too. Are we interested in jacking up compiler wa

Re: [PHP-DEV] Cleanup and maintenance of internal C code

2007-11-22 Thread Antony Dovgal
On 23.11.2007 08:41, Andy Lester wrote: > Hi, I'm Andy Lester, and I'm usually a Perl person. I've worked on > the Perl 5 and Parrot internals over the past few years, working to > clean up the C code. > > The other day I was poking through the C code behind PHP 5.2 and saw > some places th

[PHP-DEV] Cleanup and maintenance of internal C code

2007-11-22 Thread Andy Lester
Hi, I'm Andy Lester, and I'm usually a Perl person. I've worked on the Perl 5 and Parrot internals over the past few years, working to clean up the C code. The other day I was poking through the C code behind PHP 5.2 and saw some places that I thought I could help clean up. If the PHP cor

Re: [PHP-DEV] Quick question before submitting a feature request...

2007-11-22 Thread Ken Stanley
I completely agree with what you and Alexy suggest. I've since refactored my code accordingly so that an exception would not be thrown while inside of an exception. But, that does not answer my original question. I asked about submitting a feature request that would simply provide more information

Re: [PHP-DEV] late static binding php6

2007-11-22 Thread Marco Kaiser
Hi again, to explain the main idea a bit more, the code below work and moves the main getInstance function from the class and its possible to abstract this. it would be cool to get the protected property also into the abstract class. Any idea or maybe a solution in the near future? On Nov 22, 2

Re: [PHP-DEV] late static binding php6

2007-11-22 Thread Marco Kaiser
Hi List, just to drop my note here, i asked (i think) 2 years ago for such a feature to automate my singleton pattern. Not with late static bindings this is possible. i think this will also drop much redundant code from some frameworks. :) So this is one of my examples that helps much. -- Ma

Re: [PHP-DEV] Disabling the built-in POST handler

2007-11-22 Thread Richard Quadling
On 21/11/2007, Hannes Magnusson <[EMAIL PROTECTED]> wrote: > On Nov 21, 2007 6:30 PM, Stefanos Stamatis <[EMAIL PROTECTED]> wrote: > > So setting post_max_size to zero for the script with php_value in the > > apache configuration disables the built-in post form handler resulting in > > the desired