Re: [PHP-DEV] 5.4 beta

2011-10-15 Thread Stas Malyshev
Hi! On 10/7/11 11:13 AM, Hannes Magnusson wrote: The UPGRADING file is also completely worthless. I have no idea what is going on, as a dev, nor as a documentor. Be it traits, closures, or whatever random new parameter or function was added. When 5.3 came around, I literally had to diff the sour

[PHP-DEV] 5.4 undocumented stuff

2011-10-15 Thread Stas Malyshev
Hi! Following Hanness' mail a week or so ago, I went over NEWS and the wiki and here is the list of undocumented stuff we have now in 5.4. It may be not complete, so if you know of any other undocumented stuff please tell (and submit docs bug). Here it goes, together with persons responsible

[PHP-DEV] date_diff fixes status

2011-10-15 Thread Stas Malyshev
Hi! What is the status of fixing date module with regard to TLA timezones handling - this code still fails: format('U'); var_dump($ts); $t->setTimestamp($ts); var_dump($t); and also many tests are in XFAIL. Is there any chance we can get this fixed for 5.4? -- Stanislav Malyshev, Software A

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

2011-10-15 Thread Stas Malyshev
Hi! On 9/26/11 4:43 PM, Ferenc Kovacs wrote: 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? I think the idea is good, however the patch seems too complicated. I do not think we need additional flag and not sure

Re: [PHP-DEV] RM decision on BUG #55801 / FR #36424

2011-10-15 Thread Stas Malyshev
Hi! On 10/7/11 2:11 AM, Michael Wallner wrote: So I can only see two solutions: - either disallow serialize/unserialize in __sleep/__wakeup - or revert r299770 So, what is the status of this? I think we better revert it for 5.4 and look for solution that does not mess up existing code. -

Re: [PHP-DEV] is_a fix for 5.4 and HEAD

2011-10-15 Thread Stas Malyshev
Hi! On 10/13/11 5:06 PM, Rasmus Lerdorf wrote: I agree that it is slightly messy, but we have painted ourselves into a bit of a corner with the 5.3 mess. Stas, the whole point here is that changing the is_a() default in 5.3 caused huge problems, including security ones, so setting allow_string t

Re: [PHP-DEV] Problem with PHP as a plugin (C++) using embed sapi

2011-10-15 Thread Olivier Hoareau
Hi Johannes, Many thanks ! I think SAPI approach is a good one for my purpose, I can then avoid using directly the PHP/embed global variables and use functions (i.e. the stable api you mention) to manipulate these structures. I need to create new SAPI and compile libphp5.so including this SAPI