Re: [PHP-DEV] Array syntax []

2008-01-11 Thread Lokrain
Hello mr. Antonio Touriño, So as if I understand, you want to change the syntax of array() keyword. Will you mind to update the changes in all php scripts in the world too? PS. You can always have your [] in custom patch, but I do not think it's useful to want it globally changed.

Re: [PHP-DEV] Array syntax []

2008-01-11 Thread Derick Rethans
On Thu, 10 Jan 2008, Antonio Touriño wrote: The array() syntax to me screams function call, something that, You mean just like if(), for(), while(), foreach(), elseif() and... ? regards, Derick -- Derick Rethans http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org -- PHP

RE: [PHP-DEV] Array syntax []

2008-01-11 Thread Richard Black
-1 Now, back to lurking... == Richard Black - Senior Consultant DataVisibility Ltd Tel. 020 7917 9570 http://www.datavisibility.com/ Registered Office: 212

Re: [PHP-DEV] Array syntax []

2008-01-11 Thread Lukas Kahwe Smith
On Jan 11, 2008, at 1:18 PM, Pierre wrote: +1 (for the record in this thread :) -1 regards, Lukas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Array syntax []

2008-01-11 Thread Pierre
+1 (for the record in this thread :) -- Pierre http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Array syntax []

2008-01-11 Thread chris#
On Thu, 10 Jan 2008 15:51:51 -0800, Andi Gutmans [EMAIL PROTECTED] wrote: Andi 2003: http://www.mail-archive.com/internals@lists.php.net/msg03896.html Andi's brain evolves 2007: http://marc.info/?l=php-internalsm=117057393530217w=2 And today I'm still +1. I really

Re: [PHP-DEV] Array syntax []

2008-01-11 Thread Ryusuke SEKIYAMA
+1 -- Ryusuke SEKIYAMA -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Array syntax []

2008-01-11 Thread Jani Taskinen
-1 On Fri, 2008-01-11 at 13:18 +0100, Pierre wrote: +1 (for the record in this thread :) -- Pierre http://blog.thepimp.net | http://www.libgd.org -- Patches/Donations: http://pecl.php.net/~jani/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

RE: [PHP-DEV] Array syntax []

2008-01-11 Thread Ford, Mike
+1 for (b) FWIW Cheers! Mike - Mike Ford, Electronic Information Services Adviser, JG125, The Headingley Library, James Graham Building, Leeds Metropolitan University, Headingley Campus, LEEDS, LS6 3QS, United Kingdom Email:

Re: [PHP-DEV] Array syntax []

2008-01-11 Thread Ilia Alshanetsky
-1 Ilia Alshanetsky -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Array syntax []

2008-01-11 Thread Daniel Brown
On Jan 11, 2008 10:30 AM, Markus Fischer [EMAIL PROTECTED] wrote: -1 Readability degrades quite a lot. +1 (b) Readability will only degrade as much as the coder allows it to. Besides, I don't get the impression that array() is going to disappear, only that another option is to be

Re: [PHP-DEV] Array syntax []

2008-01-11 Thread Sam Barrow
+1 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Array syntax []

2008-01-11 Thread KUBO Atsuhiro
+1 (b) Regards, -- KUBO Atsuhiro e-mail: [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Array syntax []

2008-01-11 Thread Guilherme Blanco
+1 (b) If you think foo([]) is not readable, it's simple... don't use it. Also, JS defines this since its begining and none until today said it is not readable. Regards, On Jan 11, 2008 11:19 AM, Ford, Mike [EMAIL PROTECTED] wrote: +1 for (b) FWIW Cheers! Mike

Re: [PHP-DEV] Array syntax []

2008-01-11 Thread Mark Dennehy
+1 -- Mark Dennehy

Re: [PHP-DEV] Array syntax []

2008-01-11 Thread Markus Fischer
-1 Readability degrades quite a lot. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Array syntax []

2008-01-11 Thread Jeff Griffiths
Rasmus Lerdorf wrote: And my stance hasn't changed either: http://marc.info/?l=php-internalsm=117060700805108w=2 ... +1 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Array syntax []

2008-01-11 Thread Sam Barrow
On Fri, 2008-01-11 at 10:05 +0200, Lokrain wrote: Hello mr. Antonio Touriño, So as if I understand, you want to change the syntax of array() keyword. Will you mind to update the changes in all php scripts in the world too? PS. You can always have your [] in custom patch, but I do not think

Re: [PHP-DEV] Array syntax []

2008-01-11 Thread Stephan Schmidt
+1 Best regards Stephan -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Array syntax []

2008-01-11 Thread Jochem Maas
-1 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Array syntax []

2008-01-11 Thread Tullio Andreatta ML
+1 (option b) -- Tullio Andreatta 09:f9:11:02:9d:74:e3:5b:d8:41:56:c5:63:56:88:c0 45:5f:e1:04:22:ca:29:c4:93:3f:95:05:2b:79:2a:b2 Disclaimer: Please treat this email message in a reasonable way, or we might get angry ( http://www.goldmark.org/jeff/stupid-disclaimers ) -- PHP Internals -

[PHP-DEV] Array syntax []

2008-01-10 Thread Andi Gutmans
Andi 2003: http://www.mail-archive.com/internals@lists.php.net/msg03896.html Andi's brain evolves 2007: http://marc.info/?l=php-internalsm=117057393530217w=2 And today I'm still +1. I really think by looking at some of the examples I worked through with my original posting in February

Re: [PHP-DEV] Array syntax []

2008-01-10 Thread Rasmus Lerdorf
And my stance hasn't changed either: http://marc.info/?l=php-internalsm=117060700805108w=2 Andi Gutmans wrote: Andi 2003: http://www.mail-archive.com/internals@lists.php.net/msg03896.html Andi's brain evolves 2007: http://marc.info/?l=php-internalsm=117057393530217w=2 And today I'm

Re: [PHP-DEV] Array syntax []

2008-01-10 Thread Antonio Touriño
Hello all, The array() syntax to me screams function call, something that, in my mind, did not intuitively mean assign an array to a plain ole variable. If I can: $var1 = 5; why would I need a special function call array() to create and assign an array? An array is just like any other