I use PHP since version 5.0 release
I'd like use this syntax
$a = [ 2,6,9 ];
$b = ['a'=>1 , 'v'=>'string'];
foo(['bar'=>2, 'test'=null]);
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-inter
Hi,
On Fri, 2008-01-11 at 12:40 +0300, Max Antonov wrote:
> I use PHP since version 5.0 release
> I'd like use this syntax
> $a = [ 2,6,9 ];
> $b = ['a'=>1 , 'v'=>'string'];
> foo(['bar'=>2, 'test'=null]);
The last line is exactly why I won't like such a syntax. Just consider
the a bit worse call
Johannes Schlüter writes:
The last line is exactly why I won't like such a syntax. Just consider
the a bit worse call like
foo([1, $a[2]]);
I might even construct worse examples,
is this a good-readable code?
foo (array('a'=2,'b'=>array('x'=>5,'c'=>array(1,4,2)),'n'=>$bar[4]));
what diffe
+1
(sorry for the first post)
--
- Peter Brodersen
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 10 Jan 2008 15:51:51 -0800, in php.internals [EMAIL PROTECTED]
("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-internals&m=117057393530217&w=2
>
>
>
>And today I'm still +1.
+1
""Andi Gutmans"" <[EMAIL PROTECTED]> escreveu na notícia da
mensagem:[EMAIL PROTECTED]
Andi 2003:
http://www.mail-archive.com/internals@lists.php.net/msg03896.html
Andi's brain evolves 2007:
http://marc.info/?l=php-internals&m=117057393530217&w=2
And today I'm still +1.
I really thi
Hi,
Guys, there is really no point to argue about aesthetic or taste. Make
your point by using +1/-1 and that's it. As said, the trolls quota has
been used already.
Thanks for my bandwidth,
On Jan 11, 2008 12:12 PM, Max Antonov <[EMAIL PROTECTED]> wrote:
> Johannes Schlüter writes:
>
> >
> > The
One problem, I have with this proposal is, that it isn't much like
javascript anyway. In javascript, there is a distinction between array
and hashmap, with different syntaxes. If anything, the syntax should
probably be {'foo' => 1, 'bar' => 2}.
I don't think the added noise is worth it though, sinc
-1
--
Mikko Koppanen
-1
PHP is not Python.
--Marcelo
On Jan 11, 2008 9:29 AM, Edin Kadribasic <[EMAIL PROTECTED]> wrote:
> +1 on option b.
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Marcelo Araujo
Founder & Software Architect
Cell Pho
+1 on option b.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On Jan 11, 2008 1:19 PM, Pierre <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Guys, there is really no point to argue about aesthetic or taste. Make
> your point by using +1/-1 and that's it. As said, the trolls quota has
> been used already.
>
+1 FWIW :-)
--
Giedrius
--
PHP Internals - PHP Runtime Deve
-1
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
+1
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
+1
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Guys, there is really no point to argue about aesthetic or taste. Make
your point by using +1/-1 and that's it. As said, the trolls quota has
been used already.
+1
-chuck
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
-1
On Jan 11, 2008, at 12:55 PM, "troels knak-nielsen"
<[EMAIL PROTECTED]> wrote:
One problem, I have with this proposal is, that it isn't much like
javascript anyway. In javascript, there is a distinction between array
and hashmap, with different syntaxes. If anything, the syntax should
pro
-1
-Hannes
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
-1
Tomi Kaistila
PHP Developer
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
+1
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
-1
On Jan 13, 2008 11:25 PM, Adler Medrado <[EMAIL PROTECTED]> wrote:
> +1
>
> ""Andi Gutmans"" <[EMAIL PROTECTED]> escreveu na notícia da
> mensagem:[EMAIL PROTECTED]
> > Andi 2003:
> > http://www.mail-archive.com/internals@lists.php.net/msg03896.html
> >
> >
> >
> > Andi's brain evolves 2007:
>
-1
On Jan 14, 2008 1:38 AM, Lokrain <[EMAIL PROTECTED]> wrote:
> -1
>
>
> On Jan 13, 2008 11:25 PM, Adler Medrado <[EMAIL PROTECTED]> wrote:
>
> > +1
> >
> > ""Andi Gutmans"" <[EMAIL PROTECTED]> escreveu na notícia da
> > mensagem:[EMAIL PROTECTED]
> > > Andi 2003:
> > > http://www.mail-archive.co
-1
Another way of doing something already simple does not improve the
language, imho, only degrades maintenance and documentation.
If you have a time machine and can go back and make Rasmus do it this
way from the beginning, fine, but not now.
--
Some people have a "gift" link here.
Know what I
23 matches
Mail list logo