Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-18 Thread Stas Malyshev
Hi! On 7/17/11 6:32 PM, Philip Olson wrote: there been a proper discussion or RFC on this topic for 5.4. The vote was premature. Would it have turned out differently had we done it properly? Probably, but at least we'd have a proper reference point for why we removed a security feature that was

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-18 Thread Richard Quadling
On 18 July 2011 01:31, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! On 7/17/11 3:03 PM, Richard Quadling wrote: Why bother having defaults if you don't use them. Err, well, the way PHP ini system works you always have defaults - something is always stored in the hash. My local ini

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-18 Thread Pierre Joye
hi, On Mon, Jul 18, 2011 at 11:44 AM, Richard Quadling rquadl...@gmail.com wrote: Currently working really only encompasses running PhD on Windows (new setup for the new home laptop). But, in essence, the inability to rely on one default setting inescapably leads to the inability to rely on

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-18 Thread Derick Rethans
On Wed, 13 Jul 2011, Ferenc Kovacs wrote: On Wed, Jul 13, 2011 at 9:28 PM, Pierre Joye pierre@gmail.com wrote: On Wed, Jul 13, 2011 at 9:14 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Nobody runs PHP with -n, who would you do that? INIs are the recommended setting, if you

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-18 Thread Daniel Convissor
Hi: On Sun, Jul 17, 2011 at 05:31:05PM -0700, Stas Malyshev wrote: On 7/17/11 3:03 PM, Richard Quadling wrote: My local ini file is 6 lines long. Works perfectly. And you rely on magic_quotes being on, right? Then you have peculiar definition of working perfectly. Let's not pick fights

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-18 Thread Ferenc Kovacs
On Mon, Jul 18, 2011 at 12:16 PM, Derick Rethans der...@php.net wrote: On Wed, 13 Jul 2011, Ferenc Kovacs wrote: On Wed, Jul 13, 2011 at 9:28 PM, Pierre Joye pierre@gmail.com wrote: On Wed, Jul 13, 2011 at 9:14 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Nobody runs PHP with

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-17 Thread Richard Quadling
On 17 July 2011 02:04, Daniel Convissor dani...@analysisandsolutions.com wrote: Hi Stas: Nobody runs PHP with -n, who would you do that? INIs are the recommended setting, if you ignore that, you do it at your own peril. I've seen many servers that run with php.ini files that have only a

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-17 Thread Stas Malyshev
Hi! On 7/17/11 3:03 PM, Richard Quadling wrote: Why bother having defaults if you don't use them. Err, well, the way PHP ini system works you always have defaults - something is always stored in the hash. My local ini file is 6 lines long. Works perfectly. And you rely on magic_quotes

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-17 Thread Ferenc Kovacs
On Mon, Jul 18, 2011 at 2:31 AM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! On 7/17/11 3:03 PM, Richard Quadling wrote: Why bother having defaults if you don't use them. Err, well, the way PHP ini system works you always have defaults - something is always stored in the hash. My

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-17 Thread Stas Malyshev
Hi! On 7/17/11 5:35 PM, Ferenc Kovacs wrote: Stas, could we change the default value? pretty please? We could, but what's the point if we're removing it altogether? -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227 -- PHP Internals - PHP

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-17 Thread Philip Olson
On Jul 17, 2011, at 5:31 PM, Stas Malyshev wrote: Hi! On 7/17/11 3:03 PM, Richard Quadling wrote: Why bother having defaults if you don't use them. Err, well, the way PHP ini system works you always have defaults - something is always stored in the hash. His point was that you

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-17 Thread Stas Malyshev
Hi! On 7/17/11 5:46 PM, Philip Olson wrote: And you rely on magic_quotes being on, right? Then you have peculiar definition of working perfectly. Nobody here said they rely on magic quotes, and that is not related to what a default value means, or how they are handled. We're discussing

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-17 Thread Philip Olson
On Jul 17, 2011, at 5:56 PM, Stas Malyshev wrote: Hi! On 7/17/11 5:46 PM, Philip Olson wrote: And you rely on magic_quotes being on, right? Then you have peculiar definition of working perfectly. Nobody here said they rely on magic quotes, and that is not related to what a default

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-16 Thread Daniel Convissor
Hi Stas: Nobody runs PHP with -n, who would you do that? INIs are the recommended setting, if you ignore that, you do it at your own peril. I've seen many servers that run with php.ini files that have only a few lines in them, relying on the defaults for most of the behavior. --Dan -- T H

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-14 Thread Hannes Landeholm
Hello, Is it possible to add Weak References to this todo list? https://bugs.php.net/bug.php?id=52318 I've been waiting over a year now for this feature. It's a critical part of object relational layer mapping and my framework will be broken until it exists. One of our important customer

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-14 Thread Stas Malyshev
Hi! On 7/14/11 8:50 AM, Hannes Landeholm wrote: Hello, Is it possible to add Weak References to this todo list? https://bugs.php.net/bug.php?id=52318 Probably not for 5.4.0. This looks like a thing that needs an RFC and discussion (and implementation of course ;). -- Stanislav Malyshev,

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-14 Thread Hannes Landeholm
Okay, maybe it could be attempted to be squeezed in anyway to 5.4? I really need this feature and apparently others feel the same way. - It would benefit MVC framework design - one of the most common design pattern for web development. - The ticket has been open for over a year now and it has a

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-14 Thread Stas Malyshev
Hi! On 7/14/11 11:43 AM, Hannes Landeholm wrote: Okay, maybe it could be attempted to be squeezed in anyway to 5.4? I really need this feature and apparently others feel the same way. We don't even have an RFC on it, let alone consensus implementation, and we'd have a beta in a little more

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-14 Thread Christopher Jones
On 07/14/2011 11:43 AM, Hannes Landeholm wrote: Okay, maybe it could be attempted to be squeezed in anyway to 5.4? I really need this feature and apparently others feel the same way. - It would benefit MVC framework design - one of the most common design pattern for web development. - The

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-14 Thread Roger Llopart Pla
Maybe it could be implemented as a PECL package and then on a future version added to the core of PHP? 2011/7/14 Hannes Landeholm landeh...@gmail.com Okay, maybe it could be attempted to be squeezed in anyway to 5.4? I really need this feature and apparently others feel the same way. - It

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-13 Thread Philip Olson
On Jul 11, 2011, at 5:20 PM, Stas Malyshev wrote: Hi! On 7/11/11 5:09 PM, Philip Olson wrote: this previously accepted RFC is not about removing magic quotes. And I'm the author of said RFC. It deals with PHP 5.3 which removed get_magic_quotes_*() so this old RFC restored them into both

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-13 Thread Stas Malyshev
Hi! On 7/13/11 8:55 AM, Philip Olson wrote: But this topic (removing magic quotes from 5.4) was not proposed on this list, so the vote feels premature. The only related RFC on the matter involves PHP 6, and it isn't specific to MQ. Granted we all don't like MQ, but this security feature is

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-13 Thread Ferenc Kovacs
On Wed, Jul 13, 2011 at 5:57 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! On 7/13/11 8:55 AM, Philip Olson wrote: But this topic (removing magic quotes from 5.4) was not proposed on this list, so the vote feels premature. The only related RFC on the matter involves PHP 6, and it

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-13 Thread Stas Malyshev
Hi! On 7/13/11 11:11 AM, Ferenc Kovacs wrote: I would also change my vote, I would go with keeping it deprecated, but turning it off by default (currently it isn't done, but the suggested development/production inis have this turned off), and remove it with the next minor version bump. Which

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-13 Thread Ferenc Kovacs
On Wed, Jul 13, 2011 at 8:21 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! On 7/13/11 11:11 AM, Ferenc Kovacs wrote: I would also change my vote, I would go with keeping it deprecated, but turning it off by default (currently it isn't done, but the suggested development/production

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-13 Thread Stas Malyshev
Hi! On 7/13/11 11:35 AM, Ferenc Kovacs wrote: tyrael@thor:~/checkouts$ php -n -r 'echo PHP_VERSION.\n;echo ini_get(magic_quotes_gpc).\n;' 5.3.6-6~dotdeb.1 1 Nobody runs PHP with -n, who would you do that? INIs are the recommended setting, if you ignore that, you do it at your own peril. --

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-13 Thread Pierre Joye
On Wed, Jul 13, 2011 at 9:14 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! On 7/13/11 11:35 AM, Ferenc Kovacs wrote: tyrael@thor:~/checkouts$ php -n -r 'echo PHP_VERSION.\n;echo ini_get(magic_quotes_gpc).\n;' 5.3.6-6~dotdeb.1 1 Nobody runs PHP with -n, who would you do that? INIs

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-13 Thread Stas Malyshev
Hi! On 7/13/11 12:28 PM, Pierre Joye wrote: I do in many situations while testing and debugging and that's why the default values exist. Can't we keep it on topic? Do you need magic quotes when you're debugging? Do you expect it to have the same value with and without -n? Does your code

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-13 Thread Ferenc Kovacs
On Wed, Jul 13, 2011 at 9:28 PM, Pierre Joye pierre@gmail.com wrote: On Wed, Jul 13, 2011 at 9:14 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! On 7/13/11 11:35 AM, Ferenc Kovacs wrote: tyrael@thor:~/checkouts$ php -n -r 'echo PHP_VERSION.\n;echo ini_get(magic_quotes_gpc).\n;'

RE: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-13 Thread Moshe, Sam
...@sugarcrm.com] Sent: Wednesday, July 13, 2011 2:40 PM To: Pierre Joye Cc: Ferenc Kovacs; Philip Olson; PHP Internals Subject: Re: [PHP-DEV] [VOTE] 5.4 features vote Hi! On 7/13/11 12:28 PM, Pierre Joye wrote: I do in many situations while testing and debugging and that's why the default

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-13 Thread Ferenc Kovacs
On Wed, Jul 13, 2011 at 9:39 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! On 7/13/11 12:28 PM, Pierre Joye wrote: I do in many situations while testing and debugging and that's why the default values exist. Can't we keep it on topic? Do you need magic quotes when you're debugging?

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-13 Thread Ferenc Kovacs
On Wed, Jul 13, 2011 at 9:50 PM, Moshe, Sam sam.mo...@tmng.com wrote: I'm sure this has been discussed, but I'm new here, and uncertain as to where to go to get caught up. What's so wrong with magic quotes that they need to be removed from the language entirely? Links of advice would be

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-13 Thread Reindl Harald
Am 13.07.2011 21:50, schrieb Moshe, Sam: What's so wrong with magic quotes that they need to be removed from the language entirely? they are idiotic because useless for escaping database inputs and you need to find out this setting to remove them by stripslashes() if enabled from some dumb

RE: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-13 Thread Moshe, Sam
Great responses, all of them. Thanks everybody for the insight. Apologies if I veered off topic. -Original Message- From: Reindl Harald [mailto:h.rei...@thelounge.net] Sent: Wednesday, July 13, 2011 2:56 PM To: internals@lists.php.net Subject: Re: [PHP-DEV] [VOTE] 5.4 features vote Am

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-11 Thread Philip Olson
On Jul 8, 2011, at 11:30 PM, Stas Malyshev wrote: Hi! I've created a voting page for the features in 5.4 TODO list for which we need to find consensus. Please go there: https://wiki.php.net/todo/php54/vote and vote! See also links to relevant RFCs on the TODO page:

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-11 Thread Stas Malyshev
Hi! On 7/11/11 5:09 PM, Philip Olson wrote: this previously accepted RFC is not about removing magic quotes. And I'm the author of said RFC. It deals with PHP 5.3 which removed get_magic_quotes_*() so this old RFC restored them into both PHP 5.3+ and PHP 6. Yes, it's not exactly what is being

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-10 Thread Stas Malyshev
Hi! On 7/9/11 6:47 AM, Laruence wrote: Hi: can we add Foreach supporting T_LIST token into this vote? RFC: https://wiki.php.net/rfc/foreachlist If the author thinks it's mature enough he can put it up to the vote. One aspect I see that is not covered is if the references would work in

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-10 Thread Laruence
Hi: okey, I have updated the vote wiki page. thanks 2011/7/11 Stas Malyshev smalys...@sugarcrm.com: Hi! On 7/9/11 6:47 AM, Laruence wrote: Hi:  can we add Foreach supporting T_LIST token into this vote?  RFC: https://wiki.php.net/rfc/foreachlist If the author thinks it's mature

[PHP-DEV] [VOTE] 5.4 features vote

2011-07-09 Thread Stas Malyshev
Hi! I've created a voting page for the features in 5.4 TODO list for which we need to find consensus. Please go there: https://wiki.php.net/todo/php54/vote and vote! See also links to relevant RFCs on the TODO page: https://wiki.php.net/todo/php54 If something is unclear or you notice a

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-09 Thread Laruence
Hi: can we add Foreach supporting T_LIST token into this vote? RFC: https://wiki.php.net/rfc/foreachlist thanks 2011/7/9 Stas Malyshev smalys...@sugarcrm.com: Hi! I've created a voting page for the features in 5.4 TODO list for which we need to find consensus. Please go there:

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-09 Thread Lars Strojny
Hi Stas, Do you feel this is the somewhat final list for 5.4 or is will there be some room for new RFCs (I¹m thinking of Annotations, were an updated RFC was promised). With regards, Lars Am 09.07.11 08:30 schrieb Stas Malyshev unter smalys...@sugarcrm.com: Hi! I've created a voting page for

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-09 Thread Stas Malyshev
Hi! On 7/9/11 10:03 AM, Lars Strojny wrote: Hi Stas, Do you feel this is the somewhat final list for 5.4 or is will there be some room for new RFCs (I¹m thinking of Annotations, were an updated RFC was promised). My feeling is annotations is better to wait till next version, it's pretty big