[PHP-DEV] filter_var options effect \0 even if it FILTER_FLAG_STRIP_LOW not used?

2007-02-10 Thread Andy Mason
Hi all, I'm not really sure if this is the correct list to place this on. Apologies if it is not. I've come across some un-expected behaviour in the new filter_var function but i'm not really sure if it's just me not understanding the documentation correctly. I have the following two functions wh

[PHP-DEV] Re: [PHP-DOC] Re: [PHP-DEV] Re: [PHP-DOC] Improving the documentation

2007-02-10 Thread Philip Olson
On Feb 10, 2007, at 8:38 AM, Rasmus Lerdorf wrote: We, and by we I mean all of us who write code and hope that divine intervention will take care of the documentation, need to do a better job helping out divinity. A DOC tag in cvs commit messages seems like a small and easy thing for us to a

Re: [PHP-DEV] re: _FILES

2007-02-10 Thread Richard Lynch
On Thu, February 8, 2007 5:15 pm, Brian Moon wrote: > Darrel O'Pry wrote: >> I was wondering if anyone could point me to a resource explaining >> why >> the _FILES array is structured as it is with html arrays. > > What is an html array? I believe he means HTTP array such as $_GET $_POST $_REQUEST

Re: [PHP-DEV] Suggestion: global variables being accessed in localscope

2007-02-10 Thread Richard Lynch
On Thu, February 8, 2007 7:43 pm, Christian Schneider wrote: > Guilherme Blanco wrote: >> Brian,I am sorry about the message indentation... Seems >> PHP-Internals >> list does not like M$ Live(r) Mail! > > Please use plain text mail as your messages are a PITA to read, > thanks. Or very easy to re

Re: [PHP-DEV] Re: [PHP-DOC] Improving the documentation

2007-02-10 Thread Richard Lynch
On Sat, February 10, 2007 5:41 am, Ronald Chmara wrote: > Scenario one: > All behavior changes must be documented, this tag is always there, > and thus not useful. I beg to differ. If every change was documented to the degree that it needed documentation, the tag would be useful still: USEFUL: -

Re: [PHP-DEV] Moving Socket extension to PECL

2007-02-10 Thread Maurice
Hi once again, In my first tests I also included support for streams (using stream_select) in order to support SSL/TLS enabled connections. However, the SSL transport layer in the Stream "extension" is totally screwed up if you use asynchronous socket streams. That's the first I've heard about

[PHP-DEV] Re: [PHP-DOC] Re: [PHP-DEV] Re: [PHP-DOC] Improving the documentation

2007-02-10 Thread Etienne Kneuss
Hi, I also made a mailing list scanner[1] that fills a DB on doc.php.net. Every entries can then be commented, tagged as TODO etc... The scanner itself is ready, the interface still need some work. Maybe a mix of both ? [1] http://colder.ch/repository/php/php.net/cvslogger.php Wez Furlong wr

Re: [PHP-DEV] Moving Socket extension to PECL

2007-02-10 Thread Maurice
Hi Wez, In my first tests I also included support for streams (using stream_select) in order to support SSL/TLS enabled connections. However, the SSL transport layer in the Stream "extension" is totally screwed up if you use asynchronous socket streams. That's the first I've heard about this;

[PHP-DEV] Re: [PHP-DOC] Re: [PHP-DEV] Re: [PHP-DOC] Improving the documentation

2007-02-10 Thread Wez Furlong
I tweaked loginfo.pl so that if the commit message contains [DOC], phpdoc@ will be Cc'd. Hopefully that'll help in some small way. --Wez. On 2/10/07, Rasmus Lerdorf <[EMAIL PROTECTED]> wrote: We, and by we I mean all of us who write code and hope that divine intervention will take care of the d

Re: [PHP-DEV] Re: [PHP-DOC] Improving the documentation

2007-02-10 Thread Lukas Kahwe Smith
Rasmus Lerdorf wrote: Perhaps we can do more though. Maybe you guys could periodically update internals on problem areas in the docs. Places where you feel things are vague and really could use the guy who wrote the code to get off his ass and explain how it works. Or maybe we could get every

Re: [PHP-DEV] Re: [PHP-DOC] Improving the documentation

2007-02-10 Thread Rasmus Lerdorf
We, and by we I mean all of us who write code and hope that divine intervention will take care of the documentation, need to do a better job helping out divinity. A DOC tag in cvs commit messages seems like a small and easy thing for us to add to the process, so if you feel that will be enough to

Re: [PHP-DEV] OpenID enabling patch for OpenSSL and PHP 5

2007-02-10 Thread Pierre
Hi Wez, On 2/10/07, Wez Furlong <[EMAIL PROTECTED]> wrote: I'd like to tuck the attached patch into the PHP 5 branch. It provides the following functions, and does not modify the behavior of any of the others: openssl_bignum_from_bin openssl_bignum_from_hex openssl_bignum_from_dec openssl_bignu

Re: [PHP-DEV] Re: DOM recover error reporting mode

2007-02-10 Thread Rob Richards
nico wrote: I see, but in my opinion since the recover mode is off by default and E_WARNING is on by default, if recover mode is explicitly activated php should respect the developer's need to keep the interpreter as quiet as possible. A developer with more stringent needs will either keep rec

Re: [PHP-DEV] todo items

2007-02-10 Thread Lukas Kahwe Smith
Derick Rethans wrote: But do note that late static binding would be greatly appreciated. Yes, but that'd be something for 6 i think. I just nocticed its already on the php6 todo list as: re-use the "static::" keyword to do runtime evaluation of statics. http://oss.backendmedia.com/PhP60 Fo

[PHP-DEV] OpenID enabling patch for OpenSSL and PHP 5

2007-02-10 Thread Wez Furlong
I'd like to tuck the attached patch into the PHP 5 branch. It provides the following functions, and does not modify the behavior of any of the others: openssl_bignum_from_bin openssl_bignum_from_hex openssl_bignum_from_dec openssl_bignum_to_string openssl_dh_generate_key openssl_dh_compute_ke

Re: [PHP-DEV] Moving Socket extension to PECL

2007-02-10 Thread Wez Furlong
On 2/8/07, Maurice <[EMAIL PROTECTED]> wrote: In my first tests I also included support for streams (using stream_select) in order to support SSL/TLS enabled connections. However, the SSL transport layer in the Stream "extension" is totally screwed up if you use asynchronous socket streams. Tha

[PHP-DEV] Re: DOM recover error reporting mode

2007-02-10 Thread nico
Christian Stocker wrote: On 9.2.2007 18:10 Uhr, Nico Sabbi wrote: may I re-propose the attached patch? The first time it was ignored, but the current behaviour of dom module is extremely annoying Completely out of context your post, but I was the one who wrote that part of code, since

[PHP-DEV] Re: [PHP-DOC] Improving the documentation

2007-02-10 Thread Ronald Chmara
On Jan 27, 2007, at 8:26 AM, Mehdi Achour wrote: Hello internals, I've been helping with PHP documentation for 4 years now, and I still can't help the fact that a lt of things are not documented, that our/my way of handling the PHP documentation update is not accurate, nor productive, n

[PHP-DEV] Change log suggestion

2007-02-10 Thread Mathias Bank
Hallo a little suggestion to the PHP change log. I think, that it should be mentioned, who has found a bug. This could improve the security of php because someone who has found a bug will report it to php first, because he/she will be mentioned in the php change log. If not, the only reason

[PHP-DEV] Memory usage of Scripts

2007-02-10 Thread Mathias Bank
Good morning, I have a little problem with a php script which uses really lots of memory. Until now, I have thought that PHP will free variable memory after the end of a function. But it seems, that this is not true. simple variables: function readData() { $data = file_get_contents("C:/phpPr