Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-29 Thread marius popa
On Thu, Sep 18, 2008 at 9:25 PM, Jordan Moore [EMAIL PROTECTED] wrote: On Thu, Sep 18, 2008 at 11:06 AM, Brian Moon [EMAIL PROTECTED] wrote: mike wrote: Personally I love the $. It makes it so much easier to identify variables. It's a single character. Can't see the need honestly to even

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-29 Thread Hartmut Holzgraefe
marius popa wrote: 1. Break every single PHP script that is currently in existence. maybe an legacy mode can be included in ini we want less of such legacy mode options, not more plus this would have to be configured per application and not just per server 2. Break syntax highlighting (and

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-29 Thread David Coallier
sure we can break things if there is a compelling reason to do so, i'm just totally missing the compelling part here ... This is not going to happen. This thread is over. -- Slan, David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-20 Thread Guilherme Blanco
Sent: Thursday, September 18, 2008 9:06:11 PM Subject: Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc mike wrote: Personally I love the $. It makes it so much easier to identify variables. It's a single character. Can't see the need honestly to even bring this up

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-20 Thread Jani Taskinen
. Cheers, I. Stan - Original Message From: Brian Moon [EMAIL PROTECTED] To: mike [EMAIL PROTECTED] Cc: marius popa [EMAIL PROTECTED]; internals@lists.php.net Sent: Thursday, September 18, 2008 9:06:11 PM Subject: Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc mike

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-20 Thread Alain Williams
On Sat, Sep 20, 2008 at 06:35:25PM +0300, Sotiris Karavarsamis wrote: On Sat, 20 Sep 2008 16:43:52 +0300, Jani Taskinen [EMAIL PROTECTED] wrote: Marcus Boerger kirjoitti: Hello Ionut, a Friend suggested to replace it with a Euro sign, so that PHP code gets worth more :-)

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-20 Thread Marco
Hey, why not make it configurable (ini option) ?! :D I really do not find it reasonable to change the dollar sign to something else. If we could switch the dollar sign notation in variables on and off with a directive in php.ini, that would break backwards compatibility between apps not

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-20 Thread sotiris karavarsamis
Marco wrote: So don't you consider this a serious reason against stripping/changing the dollar sign? Do you think that would be a good effect for PHP users if that change would exist in a future version of PHP (even in PHP6!)? It's a simple change but a great shift! Hey, why not make

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-20 Thread Guilherme Blanco
@sotiris: explain me how will does this be handled: $array_pop = 'foo'; $test = $array_pop($arrayFoo); // $test = foo($arrayFoo); if you remove the $ array_pop = 'foo'; test = array_pop(arrayFoo); // huh?!?!?! Cheers, On Sat, Sep 20, 2008 at 2:59 PM, sotiris karavarsamis [EMAIL

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-20 Thread Derick Rethans
Please stop this useless thread, it's wasting everybody's time. regards, Derick -- HEAD before 5_3!: http://tinyurl.com/6d2esb http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-20 Thread sotiris karavarsamis
Guilherme Blanco wrote: @sotiris: explain me how will does this be handled: $array_pop = 'foo'; $test = $array_pop($arrayFoo); // $test = foo($arrayFoo); if you remove the $ array_pop = 'foo'; test = array_pop(arrayFoo); // huh?!?!?! Guilherme, I suggest keeping the $ sign in the

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-20 Thread Richard Quadling
Apropos of nothing, if you are all looking for something to reclaim, then how about dropping # as a comment. We've got block and single line comments already with /* */ and //. Then # could be the namespace separator and solve all these issues about conflicts between namespace::function and

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-20 Thread Diego Feitosa
Finally something that makes sense or at least worthy of discussion!! But not at this thread. Cheers, On Sat, Sep 20, 2008 at 6:15 PM, Richard Quadling [EMAIL PROTECTED]wrote: Apropos of nothing, if you are all looking for something to reclaim, then how about dropping # as a comment. We've

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-19 Thread Hannes Magnusson
On Thu, Sep 18, 2008 at 16:47, marius popa [EMAIL PROTECTED] wrote: I was looking at the examples used in php.js library http://phpjs.org/functions/index and it struck me that is cleaner to read the functions and code without the $ names in it From what i understand $ in front of variables

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-19 Thread troels knak-nielsen
On Fri, Sep 19, 2008 at 10:50 AM, Hannes Magnusson [EMAIL PROTECTED] wrote: I totally agree. Its really annoying needing to type $ all the time, not to mention how hard it is on Norwegian keyboards. Lets replace it with £ ! There is even a patch available:

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-19 Thread Dmitry Stogov
Alain Williams wrote: On Thu, Sep 18, 2008 at 11:30:37AM -0700, Ionut Gabriel Stan wrote: Actually, I somehow understand what he wants, considering we'll soon have lambdas and closures. I mean, in case of javascript a variable can hold as well a function as it can hold anything else.

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-19 Thread Asbjørn Sloth Tønnesen
Hannes Magnusson wrote: I totally agree. Its really annoying needing to type $ all the time, not to mention how hard it is on Norwegian keyboards. Lets replace it with £ ! Like most programming languages PHP is optimized for American keyboard layout, deal with it! Fx. I especially like the

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-19 Thread Andrey Hristov
Asbjørn Sloth Tønnesen wrote: Hannes Magnusson wrote: I totally agree. Its really annoying needing to type $ all the time, not to mention how hard it is on Norwegian keyboards. Lets replace it with £ ! Like most programming languages PHP is optimized for American keyboard layout, deal with

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-19 Thread mike
On Fri, Sep 19, 2008 at 1:50 AM, Hannes Magnusson [EMAIL PROTECTED] wrote: I totally agree. Its really annoying needing to type $ all the time, not to mention how hard it is on Norwegian keyboards. Lets replace it with £ ! can we make PHP whitespace dependent too? might as well. :) note: i

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-19 Thread Marcus Boerger
] To: mike [EMAIL PROTECTED] Cc: marius popa [EMAIL PROTECTED]; internals@lists.php.net Sent: Thursday, September 18, 2008 9:06:11 PM Subject: Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc mike wrote: Personally I love the $. It makes it so much easier to identify variables

[PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-18 Thread marius popa
I was looking at the examples used in php.js library http://phpjs.org/functions/index and it struck me that is cleaner to read the functions and code without the $ names in it From what i understand $ in front of variables is an Perl legacy -- developer flamerobin.org

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-18 Thread Rasmus Lerdorf
marius popa wrote: I was looking at the examples used in php.js library http://phpjs.org/functions/index and it struck me that is cleaner to read the functions and code without the $ names in it From what i understand $ in front of variables is an Perl legacy And how do you propose to do

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-18 Thread Kristian Köhntopp
On 18.09.2008, at 16:58, Rasmus Lerdorf wrote: And how do you propose to do string interpolation? You could do it using an interpolation operator in String constants. echo This is a #{var} in a string.; /* Ruby does it using this */ But why break compatibility for a purely aesthetical

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-18 Thread mike
On Thu, Sep 18, 2008 at 7:47 AM, marius popa [EMAIL PROTECTED] wrote: I was looking at the examples used in php.js library http://phpjs.org/functions/index and it struck me that is cleaner to read the functions and code without the $ names in it From what i understand $ in front of

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-18 Thread Brian Moon
mike wrote: Personally I love the $. It makes it so much easier to identify variables. It's a single character. Can't see the need honestly to even bring this up. +1,000,000. Horrible idea. *facepalm* -- Brian Moon Senior Web Engineer -- When you care enough to

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-18 Thread Jordan Moore
On Thu, Sep 18, 2008 at 11:06 AM, Brian Moon [EMAIL PROTECTED] wrote: mike wrote: Personally I love the $. It makes it so much easier to identify variables. It's a single character. Can't see the need honestly to even bring this up. +1,000,000. Horrible idea. *facepalm* -- Brian Moon

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-18 Thread Ionut Gabriel Stan
I'll live with it as I did until now. Cheers, I. Stan - Original Message From: Brian Moon [EMAIL PROTECTED] To: mike [EMAIL PROTECTED] Cc: marius popa [EMAIL PROTECTED]; internals@lists.php.net Sent: Thursday, September 18, 2008 9:06:11 PM Subject: Re: [PHP-DEV] php7- dropping

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-18 Thread Michael Wallner
mike wrote: ... Would you mind using your full name or something else? Thanks :) Not that I'd have a (tm) on mike, but anyway... Cheers, Mike -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-18 Thread mike
Thu, Sep 18, 2008 at 11:52 AM, Michael Wallner [EMAIL PROTECTED] wrote: Would you mind using your full name or something else? Thanks :) Not that I'd have a (tm) on mike, but anyway... i have to give props to you having [EMAIL PROTECTED], but as of right now i am not ready to make the

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-18 Thread Arvids Godjuks
Message From: Brian Moon [EMAIL PROTECTED] To: mike [EMAIL PROTECTED] Cc: marius popa [EMAIL PROTECTED]; internals@lists.php.net Sent: Thursday, September 18, 2008 9:06:11 PM Subject: Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc mike wrote: Personally I love

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-18 Thread Alain Williams
On Thu, Sep 18, 2008 at 11:30:37AM -0700, Ionut Gabriel Stan wrote: Actually, I somehow understand what he wants, considering we'll soon have lambdas and closures. I mean, in case of javascript a variable can hold as well a function as it can hold anything else. Anyway, I don't think this

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-18 Thread troels knak-nielsen
On Thu, Sep 18, 2008 at 9:09 PM, Arvids Godjuks [EMAIL PROTECTED] wrote: Well, you can do that right now, PHP supports that for ages. ?php $myVar = 'print'; $myVar('Hello!'); // Outputs hello ? Partly because I can't resist being smug, partly because it might confuse someone, I have to

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-18 Thread Jordan Moore
On Thu, Sep 18, 2008 at 12:25 PM, troels knak-nielsen [EMAIL PROTECTED] wrote: On Thu, Sep 18, 2008 at 9:09 PM, Arvids Godjuks [EMAIL PROTECTED] wrote: Well, you can do that right now, PHP supports that for ages. ?php $myVar = 'print'; $myVar('Hello!'); // Outputs hello ? Partly because