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
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
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:
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
.
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
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 :-)
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
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
@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
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:
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
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
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
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
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:
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.
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
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
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
]
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
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
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
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
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
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
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
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
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
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
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
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
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
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
33 matches
Mail list logo