Re: [PHP-DEV] Magic quotes in trunk

2010-11-17 Thread Adam Harvey
On 18 November 2010 15:22, Zeev Suraski wrote: > As much as I'd like to see magic quotes burning in hell (had the option to > kill them when they were small, but unfortunately didn't), I'm wondering > whether the people +1'ing are thinking about the potential consequences to > doing this, and i

RE: [PHP-DEV] Magic quotes in trunk

2010-11-17 Thread Zeev Suraski
> -Original Message- > From: Larry Garfield [mailto:la...@garfieldtech.com] > Sent: Thursday, November 18, 2010 7:41 AM > To: internals@lists.php.net > Subject: Re: [PHP-DEV] Magic quotes in trunk > > On Wednesday, November 17, 2010 11:19:05 pm Philip Olson wrote: > > > What are your inp

Re: [PHP-DEV] Magic quotes in trunk

2010-11-17 Thread Philip Olson
On Nov 17, 2010, at 9:40 PM, Larry Garfield wrote: > On Wednesday, November 17, 2010 11:19:05 pm Philip Olson wrote: >>> What are your inputs on this matter? >> >> I'm struggling with this topic. We must do something, but it's important to >> understand that plenty of people unknowingly rely upo

Re: [PHP-DEV] building DTrace support (currently broken)

2010-11-17 Thread Mike Harsch
Mike, Can you log a bug for this at http://bugs.php.net/report.php ? Certainly. Here it is: http://bugs.php.net/bug.php?id=53338 Mike -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Magic quotes in trunk

2010-11-17 Thread Larry Garfield
On Wednesday, November 17, 2010 11:19:05 pm Philip Olson wrote: > > What are your inputs on this matter? > > I'm struggling with this topic. We must do something, but it's important to > understand that plenty of people unknowingly rely upon this security > feature that's still enabled by default.

Re: [PHP-DEV] Magic quotes in trunk

2010-11-17 Thread Philip Olson
> What are your inputs on this matter? I'm struggling with this topic. We must do something, but it's important to understand that plenty of people unknowingly rely upon this security feature that's still enabled by default. Granted 5.3 does generate E_DEPRECATED errors when magical quotes are

Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) support discussion

2010-11-17 Thread Larry Garfield
On Wednesday, November 17, 2010 5:56:05 am Ferenc Kovacs wrote: > On Wed, Nov 17, 2010 at 12:54 PM, Ferenc Kovacs wrote: > > On Wed, Nov 17, 2010 at 11:58 AM, Arvids Godjuks > > > > > > wrote: > >> Hello Internals! > >> > >> For me, as a user-land developer, this issue seems as if some people >

Re: [PHP-DEV] Magic quotes in trunk

2010-11-17 Thread Thomas Hruska
On 11/17/2010 8:46 PM, Adam Harvey wrote: On 18 November 2010 00:08, Kalle Sommer Nielsen wrote: What are your inputs on this matter? +1 for removing magic quotes completely from trunk. Kill it with fire. Adam +infinity. Burn baby burn. (Hudson Ford reference intended...unless that make

Re: [PHP-DEV] building DTrace support (currently broken)

2010-11-17 Thread Christopher Jones
On 11/17/2010 03:40 PM, Mike Harsch wrote: I'm happy to help however I can to get this feature working again. I don't have much experience with autoconf, so it's likely that my patch is sub-optimal, but I've tested it on Solaris and Mac OS X and I know it works (conversely, I can assure you

Re: [PHP-DEV] Magic quotes in trunk

2010-11-17 Thread Dallas Gutauckis
+1 for removal On Wed, Nov 17, 2010 at 10:50 PM, Stanley Sufficool wrote: > +1 for removal > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >

Re: [PHP-DEV] Magic quotes in trunk

2010-11-17 Thread Stanley Sufficool
+1 for removal -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Magic quotes in trunk

2010-11-17 Thread Adam Harvey
On 18 November 2010 00:08, Kalle Sommer Nielsen wrote: > What are your inputs on this matter? +1 for removing magic quotes completely from trunk. Kill it with fire. Adam -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

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

2010-11-17 Thread Pierre Joye
hi, If there is no objection I like to apply this patch to 5.3 tomorrow morning (Europe) so we have it in for 5.3.4RC1. Please raise your concerns until then. At the very least we can always revert it after RC1. Cheers, On Mon, Nov 15, 2010 at 11:42 AM, Rasmus Lerdorf wrote: > Ok, I went throug

[PHP-DEV] building DTrace support (currently broken)

2010-11-17 Thread Mike Harsch
Hello php internals list, My name is Mike Harsch. I'm new here, so please set me straight on matters of etiquette and protocol. I've recently been spending a lot of time using the DTrace feature in the 5.3.99-dev code base (--enable-dtrace). I was disappointed to find out that Revision 305

Re: [PHP-DEV] Traits and static methods

2010-11-17 Thread Stefan Marr
Hi Simas: Thanks for sending me the test cases. I checked them in, and surprise surprise: it actually was already completely implemented. I didn't had to touch any code... So the missing bit was being more explicit in the RFC. I added a section and an example based on your Singleton code. Now I

Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations)supportdiscussion

2010-11-17 Thread Alec
Now that's something we can agree on :D We can reduce the syntax added to simply being the attribute tag before the standard syntax for a function call/class creation. This means functions can be attributes too (as if that is useful...)! This is a function being used as an attribute attribut

Re: [PHP-DEV] Another question on traits

2010-11-17 Thread Stefan Marr
Hi Nathan: On 17 Nov 2010, at 19:06, Nathan Nobbe wrote: > So it sounds like implementing an interface directly with a trait has been > shot down, Yes, Traits are meant to be compile-time only, they are not used to introduce typing relationships. > what I wonder about is will it still work if

[PHP-DEV] Another question on traits

2010-11-17 Thread Nathan Nobbe
Hi, Simas' question yesterday lead me to take a look at the RFC on the wiki and I have a quick question. Specifically on the 'Rejected Features' -> 'Interfaces Propagation' section. So it sounds like implementing an interface directly with a trait has been shot down, what I wonder about is will

RE: [PHP-DEV] Magic quotes in trunk

2010-11-17 Thread James Butler
+1 for removal, magic quotes stopped being a 'good' thing to do back when I first learnt what echo did. Web hosts etc have plenty of version numbers to catch up on/upgrade too before they get to this being a problem. (well most anyway) -Original Message- From: ka...@php.net [mailto:kall

Re: [PHP-DEV] Magic quotes in trunk

2010-11-17 Thread Olivier Hill
My opinion is to remove them completely. Big +1 from me. It is time for the feature to go. Olivier (iPhone) Le 2010-11-17 à 11:08, Kalle Sommer Nielsen a écrit : Greetings My personal vote here goes towards removing them entirely. What are your inputs on this matter? -- regards, Kalle S

RE: [PHP-DEV] Magic quotes in trunk

2010-11-17 Thread Uwe Schindler
Yeah, +1 for remove! - Uwe Schindler theta...@php.net - http://www.php.net NSAPI SAPI developer Bremen, Germany > -Original Message- > From: kalle@gmail.com [mailto:kalle@gmail.com] On Behalf Of Kalle > Sommer Nielsen > Sent: Wednesday, November 17, 2010 5:09 PM > To: Intern

Re: [PHP-DEV] Magic quotes in trunk

2010-11-17 Thread Pierrick Charron
+1 for removing it in trunk Pierrick On 17 November 2010 11:08, Kalle Sommer Nielsen wrote: > Greetings > > I wanted to raise this topic before we go Alpha with trunk, regarding > our beloved magic_quotes feature. There seems to be mixed opinions > regarding it so I thought I would take it up f

Re: [PHP-DEV] Magic quotes in trunk

2010-11-17 Thread Ferenc Kovacs
On Wed, Nov 17, 2010 at 5:08 PM, Kalle Sommer Nielsen wrote: > Greetings > > I wanted to raise this topic before we go Alpha with trunk, regarding > our beloved magic_quotes feature. There seems to be mixed opinions > regarding it so I thought I would take it up for discussion. > > We have advise

[PHP-DEV] Magic quotes in trunk

2010-11-17 Thread Kalle Sommer Nielsen
Greetings I wanted to raise this topic before we go Alpha with trunk, regarding our beloved magic_quotes feature. There seems to be mixed opinions regarding it so I thought I would take it up for discussion. We have advised people not to use magic_quotes, register_globals and the like for years,

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

2010-11-17 Thread Julien Pauli
Is this related to http://www.ush.it/2009/02/08/php-filesystem-attack-vectors/ ? That's a quiet old bug, I'm happy to listen it's now worked on and has a patch. J.Pauli On Tue, Nov 16, 2010 at 12:34 PM, Pierre Joye wrote: > hi, > > On Tue, Nov 16, 2010 at 7:15 AM, Rasmus Lerdorf wrote: >> On 1

Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) support discussion

2010-11-17 Thread Peter Cowburn
On 15 November 2010 17:07, guilhermebla...@gmail.com wrote: > Hi folks, > > I'll start a series of topics (in this thread) about meta attribute > (aka. Annotations) discussion. > So as soon as we agree on each topic I'll open another point to be discussed. > Only when we reach some consensus I'll

Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) support discussion

2010-11-17 Thread Ferenc Kovacs
On Wed, Nov 17, 2010 at 12:54 PM, Ferenc Kovacs wrote: > > > On Wed, Nov 17, 2010 at 11:58 AM, Arvids Godjuks > wrote: > >> Hello Internals! >> >> For me, as a user-land developer, this issue seems as if some people >> are trying to push the annotations at any cost. What they fail to see, >> is

Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) support discussion

2010-11-17 Thread Ferenc Kovacs
On Wed, Nov 17, 2010 at 11:58 AM, Arvids Godjuks wrote: > Hello Internals! > > For me, as a user-land developer, this issue seems as if some people > are trying to push the annotations at any cost. What they fail to see, > is that annotations are never described what they are and how they can > be

Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) support discussion

2010-11-17 Thread Arvids Godjuks
Hello Internals! For me, as a user-land developer, this issue seems as if some people are trying to push the annotations at any cost. What they fail to see, is that annotations are never described what they are and how they can be useful in our developer work. Right now I, and I think many other u

Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) support discussion

2010-11-17 Thread Richard Quadling
On 17 November 2010 01:54, Stas Malyshev wrote: > Hi! > >> I would have no trouble accepting a rejection of annotations on the actual >> merits, but the interminable sequence of comparisons to phpdoc make it >> clear to me that people just don't realize the potential of annotations. > > People do

RE: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) supportdiscussion

2010-11-17 Thread Zeev Suraski
I’m not the only one in this thread repeating himself to make a point :) What I opposed is the notion that ‘everyone wants some sort of meta attribute support’. Maybe I read too much into it but I read it as implying we need something substantial that’s new. Either way, I’m fine with going in

Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) supportdiscussion

2010-11-17 Thread Will Fitch
I think everyone is jumping the gun on this. Let's let Alec, et al. finish the newly proposed RFC and then argue about it. If the consensus is still that the complexity and drag in the introduced syntax outweighs the benefits, we put it to bed or try again. Fair enough? On Wed, Nov 17, 2010 at

Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) supportdiscussion

2010-11-17 Thread Ferenc Kovacs
On Wed, Nov 17, 2010 at 9:36 AM, Zeev Suraski wrote: > > On Nov 17, 2010, at 4:29, "guilhermebla...@gmail.com" < > guilhermebla...@gmail.com> wrote: > > > Hi Stas, > > > > Ok, so you think I should just consider everyone want some sort of > > meta attribute support and start discussing the topics

Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) supportdiscussion

2010-11-17 Thread Zeev Suraski
On Nov 17, 2010, at 4:29, "guilhermebla...@gmail.com" wrote: > Hi Stas, > > Ok, so you think I should just consider everyone want some sort of > meta attribute support and start discussing the topics? Of course not. Assuming meta support requires substantial additions of syntax then it's ve

Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) supportdiscussion

2010-11-17 Thread Will Fitch
Fair enough. I'm bias towards the C# annotation syntax, so that's my attraction to it. On Wed, Nov 17, 2010 at 1:49 AM, Dave Ingram wrote: > On 17/11/10 06:38, Will Fitch wrote: > > I like the idea, Alec. > > > > My only question is, syntactically, what difference would using a > keyword, > > i