Re: [PHP-DEV] required argument after an optional should make it required

2011-09-26 Thread Nikita Popov
One thing I noticed this *could* be useful for is allowing null values on typehinted arguments: function f(TypeHint $arg = null, $arg2); $arg can now be either instanceof TypeHint or null. (Just noting that it does influence behavior sometimes, not that this is relevant.) Nikita On Tue, Sep 27,

Re: [PHP-DEV] Question about ABI compatibility for an ext/xsl patch and an API question for the implementation

2011-09-26 Thread Christian Stocker
Hi again I just had the idea for a 4th option. Won't be less controversy, but it's backwards and forwards compatible. 4) use a php ini setting in PHP 5.3 I know, we try to avoid that as much as possible. BUT * It will only be in 5.3, not even committed to 5.4 * If you don't have the ini setting

Re: [PHP-DEV] required argument after an optional should make it required

2011-09-26 Thread Laruence
Hi: +1 for this thanks 2011/9/27 Ferenc Kovacs : > Hi. > > I've just found a nice feature request in the bugtracker: > https://bugs.php.net/bug.php?id=53399 > > what do you think about it? > > -- > Ferenc Kovács > @Tyr43l - http://tyrael.hu > > -- > PHP Internals - PHP Runtime Development Mail

[PHP-DEV] required argument after an optional should make it required

2011-09-26 Thread Ferenc Kovacs
Hi. I've just found a nice feature request in the bugtracker: https://bugs.php.net/bug.php?id=53399 what do you think about it? -- Ferenc Kovács @Tyr43l - http://tyrael.hu -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_4/ext/session/tests/rfc1867_invalid_settings.phpt branches/PHP_5_4/ext/session/tests/rfc1867_invalid_settings_2.phpt trunk/ext/session/tes

2011-09-26 Thread Ferenc Kovacs
I've just noticed that we had a related bugreport, I thought that I should mention it: https://bugs.php.net/bug.php?id=55479 -- Ferenc Kovács @Tyr43l - http://tyrael.hu -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Question about ABI compatibility for an ext/xsl patch and an API question for the implementation

2011-09-26 Thread Christian Stocker
Hi Some weeks ago I wrote a patch to disable writing from within XSLT templates. That patch is now in 5.4 but wasn't accepted in PHP 5.3 since it changed a struct in the header file. I have now I new patch which doesn't need that changing in the struct, but I need a new .h file from libxslt. htt

Re: [PHP-DEV] Merge fix for #54918 (r311748) to 5.4?

2011-09-26 Thread Stas Malyshev
Hi! On 9/26/11 1:42 AM, Pierre Joye wrote: It may be good to merge http://svn.php.net/viewvc?view=revision&revision=311748 to 5.4 too. This commit is about issues similar to the one describe in #54918. Any reason not to do it before next beta/rc? I'm not sure I understand this patch completel

Re: [PHP-DEV] Merge fix for #54918 (r311748) to 5.4?

2011-09-26 Thread Hannes Magnusson
On Mon, Sep 26, 2011 at 10:42, Pierre Joye wrote: > hi, > > It may be good to merge > http://svn.php.net/viewvc?view=revision&revision=311748 to 5.4 too. > This commit is about issues similar to the one describe in #54918. > If it gets merged, don't forget http://svn.php.net/viewvc?view=revision&

[PHP-DEV] Merge fix for #54918 (r311748) to 5.4?

2011-09-26 Thread Pierre Joye
hi, It may be good to merge http://svn.php.net/viewvc?view=revision&revision=311748 to 5.4 too. This commit is about issues similar to the one describe in #54918. Any reason not to do it before next beta/rc? Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org -- PH