[PHP-DEV] Re: todo items

2007-02-08 Thread Michael Wallner
Lukas Kahwe Smith wrote: >1. on-the-fly static properties (mike) I didn't request these, I just posted something that looked like a patch. Yet, I wouldn't mind removing another unreasonable fatalism. >2. 'strict class' to disable dynamic member variable addition (marcus) IIRC that doesn

[PHP-DEV] todo items

2007-02-08 Thread Lukas Kahwe Smith
Hello, On the heels of the 5.2.1 release I just wanted to bring up the following todo items that have been on the 5.x todo lists since ages. Are these still alive? Have they been done? What would be a sensible target version? Especially the "on-the-fly static properties" is much requested.

[PHP-DEV] update to __HALT_COMPILER(); patch - 4 .phpt tests

2007-02-08 Thread Gregory Beaver
Hi, http://pear.php.net/~greg/halt/ contains the patch (unchanged and still against PHP_5_2) and 4 .phpt tests that prove it works. Greg -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

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

2007-02-08 Thread Guilherme Blanco
Christian Schneider wrote: Please use plain text mail as your messages are a PITA to read, thanks. I changed the email to send/recieve messages. Hotmail simply doesn't accept plain text. You didn't grasp two of the major PHP features (not bugs!): 1. Every variable you access inside a functio

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

2007-02-08 Thread Christian Schneider
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. you can see, the only change needed is in a throw-able error (Undefined variable), which d

RE: [PHP-DEV] Suggestion: global variables being accessed in local scope

2007-02-08 Thread Guilherme Blanco
Brian,I am sorry about the message indentation... Seems PHP-Internals list does not like M$ Live(r) Mail! roflI wrote it carefully indented... =\I read your extension messages, but you idea was different from mine. What you suggested in that post is exactly what runkit does today.My idea is a litt

[PHP-DEV] CVS Account Request: void

2007-02-08 Thread De Cock Xavier
http://news.php.net/php.pecl.dev/4489 Publish bbcode parsing extension -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] re: _FILES

2007-02-08 Thread Vlad Bosinceanu
generates $_GET['foo'][0..n] generates $_FILES['foo']['tmp_name/name/etc'][0..n] I think this could pretty much be considered an inconsistence but changing wouldn't possible due to the BC demon awakening and wreaking havoc upon doing so. V Darrel O'Pry wrote: On Thu, 2007-02-08 at 17:15

Re: [PHP-DEV] re: _FILES

2007-02-08 Thread Darrel O'Pry
On Thu, 2007-02-08 at 17:15 -0600, 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? Maybe that is not the correct diction. I picked it up somew

Re: [PHP-DEV] Re: Syntactic improvement to array

2007-02-08 Thread Vlad Bosinceanu
I for one cringe when I see list(), and I'd love to see [$a, $b] = array(...) become an alternative to that. Can't say I care that much about an alternative syntax for dealing with array creation, but I wouldn't mind. "[]" already suggests "array", and I guess existing developers will have no

Re: [PHP-DEV] re: _FILES

2007-02-08 Thread Brian Moon
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? -- Brian Moon - http://dealnews.com/ It's good to be cheap =) -- PHP Internals - PHP Runtime Development Mail

Re: [PHP-DEV] Re: Syntactic improvement to array

2007-02-08 Thread Brian Moon
But I have to ask: what's the matter. A good programming language should not force the developer to program as the language wants. A good programming language should support the developer in writing code he likes, the way he likes. So, you are new to php internal huh? =) Seriously, the langua

[PHP-DEV] re: _FILES

2007-02-08 Thread Darrel O'Pry
I was wondering if anyone could point me to a resource explaining why the _FILES array is structured as it is with html arrays. I've been googling and reading rfc1867.c and finding very little explanation. The _FILES[$key]['temp_name'][$key] is quite awkward when dealing with multiple uploads. I

Re: [PHP-DEV] Re: Syntactic improvement to array

2007-02-08 Thread Hartmut Holzgraefe
Mathias Bank wrote: It don't think so: PHP is a good language, but writing code in PHP is sometimes awful. This could be improved by an alternative syntax. This could help new developers who are coming from another language. This could make coding funnier for some developers. Alternative synt

[PHP-DEV] Re: Syntactic improvement to array

2007-02-08 Thread Mathias Bank
Andi Gutmans schrieb: Hi, I thought I may have brought this up a long time ago but couldn't find anything in the archives. For a long time already I've been thinking about possibly adding a new syntax for array(...) which would be shorter. I'd suggest [...]. While I am usually not in favor of

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src(PHP_5_2) / run-tests.php

2007-02-08 Thread Adam Maccabee Trachtenberg
I read this as saying we're removing the entire ereg extension from PHP 6. If that's not true, then never mind. -adam On Thu, 8 Feb 2007, Ilia Alshanetsky wrote: > The make test process already depends on pcre, so this change does > not break anything in that respect. > > > On 8-Feb-07, at 11:53

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

2007-02-08 Thread Brian Moon
Well, this was a little hard to read, but, let me see if I understand one thing. You would have PHP look in the local scope and then also in the global scope? If so, I would never support that idea. I remember an email from Rasmus about why PHP's scoping is the way it is. Something to do wit

[PHP-DEV] Suggestion: global variables being accessed in local scope

2007-02-08 Thread Guilherme Blanco
Hello PHP maintainers,During this week, I spoke with Sara Golemon about the possibility to change one current behavior of PHP.My first suggestion, as you can see in my blog post: http://blog.bisna.com/archives/32#comments was a new function called register_superglobal.While talking with her, I f

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src(PHP_5_2) / run-tests.php

2007-02-08 Thread Ilia Alshanetsky
The make test process already depends on pcre, so this change does not break anything in that respect. On 8-Feb-07, at 11:53 AM, Adam Maccabee Trachtenberg wrote: On Thu, 8 Feb 2007, Nuno Lopes wrote: convert all ereg*() calls to preg_match(), so that we become future-proof (ereg is sc

[PHP-DEV] Re: [PHP-CVS] cvs: php-src(PHP_5_2) / run-tests.php

2007-02-08 Thread Adam Maccabee Trachtenberg
On Thu, 8 Feb 2007, Nuno Lopes wrote: > convert all ereg*() calls to preg_match(), so that we become > future-proof (ereg is scheduled for removal in PHP 6) What? When did I miss this? And beyond the obvious reasoning (preg is better than ereg) why break people? -adam -- [EMAIL PROTECTED]

Re: [PHP-DEV] mail() logging for PHP

2007-02-08 Thread Francois Saint-Jacques
This is the tip of the iceberg. We're facing the problem with spam and php inclusion on a mass-hosting server. Not only I want to know how many times mail() was called but other dangerous function too! (exec,system,mail,etc...) What would be nice is a variable similar to "disable_functions",

Re: [PHP-DEV] mail() logging for PHP

2007-02-08 Thread Mathieu Gagné
Hi, Thanks for the update! Much appreciated. Is there any chances to get this patch for PHP 4.x too? Mathieu On 2007-02-08 10:50, Ilia Alshanetsky wrote: I am going to finalize the patch and add it to 5.2.2 in the coming weeks. Ilia On 8-Feb-07, at 10:44 AM, Mathieu Gagné wrote: Hi, Any

Re: [PHP-DEV] Re: [Patch] mysql_set_charset for mysql ext

2007-02-08 Thread Scott MacVicar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Appears it didn't apply to HEAD, here is a new patch that stops the character set being changed if Unicode.semantics = On plus it uses the new parameter parsing API. Scott Scott MacVicar wrote: > Pretty sure the patches should still apply, I can re

Re: [PHP-DEV] mail() logging for PHP

2007-02-08 Thread Ilia Alshanetsky
I am going to finalize the patch and add it to 5.2.2 in the coming weeks. Ilia On 8-Feb-07, at 10:44 AM, Mathieu Gagné wrote: Hi, Any news about it? This would be very interesting having this feature. As Richard Lynch said, ISPs would love it. Mathieu On 2006-12-14 15:50, Ilia Alshanetsk

Re: [PHP-DEV] mail() logging for PHP

2007-02-08 Thread Mathieu Gagné
Hi, Any news about it? This would be very interesting having this feature. As Richard Lynch said, ISPs would love it. Mathieu On 2006-12-14 15:50, Ilia Alshanetsky wrote: The full path is only for the log files, the header only contains the script name. As far as requests to include the domain

Re: [PHP-DEV] mail() logging for PHP

2007-02-08 Thread Mathieu Gagné
Hi, Any news about it? This would be very interesting having this feature. As Richard Lynch said, ISPs would love it. Mathieu On 2006-12-14 15:50, Ilia Alshanetsky wrote: The full path is only for the log files, the header only contains the script name. As far as requests to include the domain

Re: [PHP-DEV] Re: [Patch] mysql_set_charset for mysql ext

2007-02-08 Thread Scott MacVicar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Pretty sure the patches should still apply, I can respin them if needed. Scott Ilia Alshanetsky wrote: > The patch will need to wait for 5.2.2, it is too late for it to be > accepted into 5.2.1 tree. > > Ilia -BEGIN PGP SIGNATURE- Version:

[PHP-DEV] CVS Account Request: nagarajumovva

2007-02-08 Thread nagaraju movva
yes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Moving Socket extension to PECL

2007-02-08 Thread Maurice
Hi there, unfortunately I haven't read your comments some months ago on moving the Socket extension to PECL. I just stumbled upon it yesterday while surfing around on Sara's blog (btw, great book!) and was quite upset about it... I've written a multiplexing connection suite in PHP5 (LGPL, bu

[PHP-DEV] [PATCH] persistence for zend_stack

2007-02-08 Thread Michael Wallner
Patch is against CVS HEAD. Regards, -- Michael Index: Zend/zend_stack.c === RCS file: /repository/ZendEngine2/zend_stack.c,v retrieving revision 1.19 diff -u -p -d -r1.19 zend_stack.c --- Zend/zend_stack.c 1 Jan 2007 09:29:21 -

[PHP-DEV] phpexplorator has released phpexplorator

2007-02-08 Thread Tchouamou Eric Herve
Project "phpexplorator" ('phpexplorator') has released the new version of package 'phpexplorator'. You can download it from SourceForge.net by following this link: or browse Release Notes and ChangeLog by visiting t