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 d...@dmi.me.uk 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

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 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

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 z...@zend.com 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 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 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) support discussion

2010-11-17 Thread Richard Quadling
On 17 November 2010 01:54, Stas Malyshev smalys...@sugarcrm.com 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.

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

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 arvids.godj...@gmail.comwrote: 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

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 i...@tyrael.hu wrote: On Wed, Nov 17, 2010 at 11:58 AM, Arvids Godjuks arvids.godj...@gmail.com 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.

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 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

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 pierre@gmail.com wrote: hi, On Tue, Nov 16, 2010 at 7:15 AM, Rasmus

[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] Magic quotes in trunk

2010-11-17 Thread Ferenc Kovacs
On Wed, Nov 17, 2010 at 5:08 PM, Kalle Sommer Nielsen ka...@php.net 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

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 ka...@php.net 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

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: Internals

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 ka...@php.net a écrit : Greetings My personal vote here goes towards removing them entirely. What are your inputs on this matter? --

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

[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] 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 a

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

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

[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

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 ras...@lerdorf.com wrote:

Re: [PHP-DEV] Magic quotes in trunk

2010-11-17 Thread Adam Harvey
On 18 November 2010 00:08, Kalle Sommer Nielsen ka...@php.net 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] 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 Dallas Gutauckis
+1 for removal On Wed, Nov 17, 2010 at 10:50 PM, Stanley Sufficool ssuffic...@gmail.comwrote: +1 for removal -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

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

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 Nielsenka...@php.net 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

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 i...@tyrael.hu wrote: On Wed, Nov 17, 2010 at 11:58 AM, Arvids Godjuks arvids.godj...@gmail.com wrote: Hello Internals! For me, as a user-land developer, this issue

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] 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] 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 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 upon this

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 inputs on

Re: [PHP-DEV] Magic quotes in trunk

2010-11-17 Thread Adam Harvey
On 18 November 2010 15:22, Zeev Suraski z...@zend.com 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