[PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/trunk/ UPGRADING.INTERNALS ext/standard/basic_functions.c ext/standard/basic_functions.h main/php_streams.h main/streams/memory.c main/streams/streams.c

2010-11-14 Thread Kalle Sommer Nielsen
Hi 2010/11/15 Gustavo André dos Santos Lopes : > cataphract                               Mon, 15 Nov 2010 03:05:32 + > > Revision: http://svn.php.net/viewvc?view=revision&revision=305346 > > Log: > - Added leak_variable() function. Why do we need a leak_variable() function in a regular build

Re: [PHP-DEV] Adding path_len to all stream functions in trunk

2010-11-14 Thread Rasmus Lerdorf
Right, but the root of the problem is where to do the invalidation check of bogus file path strings. Like checking for bogus null bytes in them. Right now: file_exists($file . '.txt'); and file_exists($file); will check the same file if $file has a \0 stuck onto the end. This can lead to secur

RE: [PHP-DEV] Adding path_len to all stream functions in trunk

2010-11-14 Thread Andi Gutmans
Hi Rasmus, Hope I understood the problem correctly. If not, this answer won't make sense :) I do not see a major problem in passing path_len but wonder how much it'd actually solve as we end up calling OS APIs that do not accept path_len, no? I assume we don't want to start searching all these s

Re: [PHP-DEV] Option to enable echo tags when short tags are turned off

2010-11-14 Thread Will Fitch
+1 On Sun, Nov 14, 2010 at 8:37 PM, Rasmus Lerdorf wrote: > On 11/14/10 5:43 PM, Stas Malyshev wrote: > > Hi! > > > >> At the beginning of the year, someone put in a request for an option > >> to enable echo tags when short tags are disabled > >> (http://bugs.php.net/bug.php?id=50662). I've writ

Re: [PHP-DEV] Option to enable echo tags when short tags are turned off

2010-11-14 Thread Stas Malyshev
Hi! The problem with So, you say plenty of cases where it *is* useful and since restricting it obviously did nothing to discourage its use and only added annoyance to the life of average php programmer, I'd say let's get rid of that annoyance. I see benefits, I see no cost, the case seems ob

Re: [PHP-DEV] Option to enable echo tags when short tags are turned off

2010-11-14 Thread Rasmus Lerdorf
On 11/14/10 6:44 PM, Gustavo Lopes wrote: > On Mon, 15 Nov 2010 02:37:17 -, Rasmus Lerdorf > wrote: > >> On 11/14/10 5:43 PM, Stas Malyshev wrote: >>> Hi! >>> At the beginning of the year, someone put in a request for an option to enable echo tags when short tags are disabled (

Re: [PHP-DEV] Option to enable echo tags when short tags are turned off

2010-11-14 Thread Gustavo Lopes
On Mon, 15 Nov 2010 02:37:17 -, Rasmus Lerdorf wrote: On 11/14/10 5:43 PM, Stas Malyshev wrote: Hi! At the beginning of the year, someone put in a request for an option to enable echo tags when short tags are disabled (http://bugs.php.net/bug.php?id=50662). I've written a patch and two

Re: [PHP-DEV] Option to enable echo tags when short tags are turned off

2010-11-14 Thread Rasmus Lerdorf
On 11/14/10 5:43 PM, Stas Malyshev wrote: > Hi! > >> At the beginning of the year, someone put in a request for an option >> to enable echo tags when short tags are disabled >> (http://bugs.php.net/bug.php?id=50662). I've written a patch and two > > I don't think we really need more options - I t

Re: [PHP-DEV] Option to enable echo tags when short tags are turned off

2010-11-14 Thread Stas Malyshev
Hi! At the beginning of the year, someone put in a request for an option to enable echo tags when short tags are disabled (http://bugs.php.net/bug.php?id=50662). I've written a patch and two I don't think we really need more options - I think we should just have and only people that use it ar

[PHP-DEV] [FPM] low level atomic assembly code for SPARC ?

2010-11-14 Thread Jérôme Loyet
Hi guys, we've just received a bug report (http://bugs.php.net/53310) relating incompatible atomic code on SPARC < 9. I have no access to a SPARC system and don't how to correct this. Does anyone know how to fix this ? thx ++ Jerome -- PHP Internals - PHP Runtime Development Mailing List To uns

[PHP-DEV] Adding path_len to all stream functions in trunk

2010-11-14 Thread Rasmus Lerdorf
I think we need to pass along the string length to all the stream functions to maintain binary string safety through this code. This would fix annoying problems like http://bugs.php.net/39863 and a bunch of similar issues. Obviously not something we can do in 5.3 without breaking binary compatibi

Re: [PHP-DEV] [PHP] multiple sapi (multiple bug reports)

2010-11-14 Thread Johannes Schlüter
On Sun, 2010-11-14 at 01:16 +0200, Jani Taskinen wrote: > PHP 5.3 > propably will not get this, RM should decide. :) If you are sure it doesn't break stuff go for it! Less distributors doing strange things. johannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visi

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Restructuring the QA team

2010-11-14 Thread Felipe Pena
Hi, 2008/11/3 Pierre Joye > hi, > > On Mon, Nov 3, 2008 at 9:08 AM, Ronald Chmara wrote: > > > > On Oct 31, 2008, at 5:16 AM, Sebastian Bergmann wrote: > > > >> Hannes Magnusson schrieb: > >>> > >>> Speaking of "QA people", how about crediting those who are actually > >>> working on QA and remov

Re: [PHP-DEV] [PHP] multiple sapi (multiple bug reports)

2010-11-14 Thread Pierre Joye
hi, On Sun, Nov 14, 2010 at 12:16 AM, Jani Taskinen wrote: > Above patch does work. And it's also committed to trunk now. PHP 5.3 > propably will not get this, RM should decide. :) Thanks for the update. Please add a note/explanation about this change in the UPGRADING and UPGRADING.INTERNALS (f

[PHP-DEV] The fastest way to save/restore PHP application state

2010-11-14 Thread Pavel Shevaev
Hi folks, Could you please recommend the fastest way to save/restore a state of a PHP application? Looks like the igbinary extension is a possible way to go. Are there any faster, possibly even more low level ways? For example, in C/C++ it's possible to save/restore POD structs as binary data ver