Re: [PHP-DEV] Re: Short syntax for array literals [...]

2008-05-27 Thread Pierre Joye
On Wed, May 28, 2008 at 2:27 AM, Rasmus Lerdorf <[EMAIL PROTECTED]> wrote: > Stanislav Malyshev wrote: >>> >>> please add your votes >> >> I'm +1. Same here, still +1. Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To un

Re: [PHP-DEV] Re: Short syntax for array literals [...]

2008-05-27 Thread Rasmus Lerdorf
Antony Dovgal wrote: On 28.05.2008 10:25, Stanislav Malyshev wrote: Hi! You do understand that you will not be able to use this syntax in your products for at least next 5 years without rising min required PHP version to the latest one, right? That makes it even more useless. That's great

Re: [PHP-DEV] Re: Short syntax for array literals [...]

2008-05-27 Thread Derick Rethans
On Wed, 28 May 2008, Jani Taskinen wrote: > Stanislav Malyshev kirjoitti: > > > please add your votes > > > > I'm +1. > > > > BTW - how hard would it be to add voting interface to the wiki? > > For the record: I'm -1. array() is enough. > Ridiculous idea to begin with..and please no more voting

Re: [PHP-DEV] Re: Short syntax for array literals [...]

2008-05-27 Thread Antony Dovgal
On 28.05.2008 10:25, Stanislav Malyshev wrote: Hi! You do understand that you will not be able to use this syntax in your products for at least next 5 years without rising min required PHP version to the latest one, right? That makes it even more useless. That's great argument. So nice to k

Re: [PHP-DEV] RFC: allow_call_pass_by_reference

2008-05-27 Thread Derick Rethans
On Wed, 21 May 2008, Steph Fox wrote: > I looked into it again (and found things I didn't know before). This one's > bugging me enough that I braved the Wiki: > > http://wiki.php.net/rfc/calltimebyref I'm all for it. regards, Derick -- PHP Internals - PHP Runtime Development Mailing List To u

Re: [PHP-DEV] Re: Short syntax for array literals [...]

2008-05-27 Thread Stanislav Malyshev
Hi! You do understand that you will not be able to use this syntax in your products for at least next 5 years without rising min required PHP version to the latest one, right? That makes it even more useless. That's great argument. So nice to know everything we do for 5.3 and 6 is completel

Re: [PHP-DEV] RFC: allow_call_pass_by_reference

2008-05-27 Thread Stanislav Malyshev
Hi! 1) At call time, nothing significes what is the caller passing, the syntax is the same for passing reference or passing value, so it's prone There's no such thing as "passing reference or passing value". Same thing is always passed - zval. Only thing changing is does the function intend

Re: [PHP-DEV] Re: Short syntax for array literals [...]

2008-05-27 Thread Antony Dovgal
On 28.05.2008 02:58, Sebastian Deutsch wrote: fyi - i added a RFC http://wiki.php.net/rfc/shortsyntaxforarrays please add your votes You do understand that you will not be able to use this syntax in your products for at least next 5 years without rising min required PHP version to the latest

Re: [PHP-DEV] Re: Short syntax for array literals [...]

2008-05-27 Thread Stanislav Malyshev
Hi! Not hard at all. Certifying that people only vote once - hard What's hard in that? Only logged in users vote, one login - one vote. :) -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals - PHP Run

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/mcrypt mcrypt.c /ext/mcrypt/tests mcrypt_enc_self_test.phpt

2008-05-27 Thread Derick Rethans
On Sun, 18 May 2008, Hannes Magnusson wrote: > On Sun, May 18, 2008 at 8:14 PM, David Soria Parra <[EMAIL PROTECTED]> wrote: > > Hannes Magnusson wrote: > >> > >> This is a massive BC break... > >> Imagine people who did if (mcrypt_enc_self_test($td) == 0) { ... } > >> that has now changed from de

Re: [PHP-DEV] RFC: allow_call_pass_by_reference

2008-05-27 Thread Stan Vassilev | FM
Hi, There are three purposes: 1) At call time, nothing significes what is the caller passing, the syntax is the same for passing reference or passing value, so it's prone to confusion. You're passing something which *may* or *may not* be modified if taken as a reference. Quick, is the variab

[PHP-DEV] CVS Account Request: psalehpoor

2008-05-27 Thread Pedram Salehpoor
I want to translate documentation into persian. the module and mailing list is created by Philip Olson. He gave me permission to request a CVS Account. I want to help in english part too. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: Short syntax for array literals [...]

2008-05-27 Thread Philip Olson
On 27 May 2008, at 19:44, Greg Beaver wrote: Stanislav Malyshev wrote: please add your votes I'm +1. BTW - how hard would it be to add voting interface to the wiki? Not hard at all. Certifying that people only vote once - hard I vote we don't talk about voting methodology in this thread.

Re: [PHP-DEV] Re: Short syntax for array literals [...]

2008-05-27 Thread Greg Beaver
Stanislav Malyshev wrote: please add your votes I'm +1. BTW - how hard would it be to add voting interface to the wiki? Not hard at all. Certifying that people only vote once - hard :) Greg -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/u

Re: [PHP-DEV] Re: Short syntax for array literals [...]

2008-05-27 Thread Sebastian Deutsch
Stanislav Malyshev schrieb: please add your votes I'm +1. BTW - how hard would it be to add voting interface to the wiki? I don't think it's hard: http://wiki.splitbrain.org/plugin:poll http://wiki.splitbrain.org/plugin:userpoll Sebastian -- PHP Internals - PHP Runtime Development Mailing

Re: [PHP-DEV] Re: Short syntax for array literals [...]

2008-05-27 Thread Andrei Zmievski
I'm +1. -Andrei Sebastian Deutsch wrote: fyi - i added a RFC http://wiki.php.net/rfc/shortsyntaxforarrays please add your votes cheers Sebastian -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: Short syntax for array literals [...]

2008-05-27 Thread Rasmus Lerdorf
Stanislav Malyshev wrote: please add your votes I'm +1. I'm ok with it as well. Like I said over a year ago (*), it is a syntax very familiar to web developers and it feels natural to most people. (*) http://marc.info/?l=php-internals&m=117060700805108&w=2 -Rasmus -- PHP Internals - PHP

Re: [PHP-DEV] Short syntax for array literals [...]

2008-05-27 Thread Sebastian Deutsch
Andi Gutmans schrieb: Not sure we really reached a conclusion. I think it was inconclusive and people got tired. As I've stated in the past in general I don't like the ability to do things in more than one way but in this case I think the advantages of the cleaner syntax outweigh the fact tha

Re: [PHP-DEV] Re: Short syntax for array literals [...]

2008-05-27 Thread Stanislav Malyshev
Hi! Ridiculous idea to begin with..and please no more voting, isn't there enough spam already? What do you mean "no more voting"? -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Devel

Re: [PHP-DEV] Re: Short syntax for array literals [...]

2008-05-27 Thread Jani Taskinen
Stanislav Malyshev kirjoitti: please add your votes I'm +1. BTW - how hard would it be to add voting interface to the wiki? For the record: I'm -1. array() is enough. Ridiculous idea to begin with..and please no more voting, isn't there enough spam already? --Jani -- PHP Internals - P

Re: [PHP-DEV] Re: Short syntax for array literals [...]

2008-05-27 Thread Stanislav Malyshev
please add your votes I'm +1. BTW - how hard would it be to add voting interface to the wiki? -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, v

[PHP-DEV] Re: Short syntax for array literals [...]

2008-05-27 Thread Sebastian Deutsch
fyi - i added a RFC http://wiki.php.net/rfc/shortsyntaxforarrays please add your votes cheers Sebastian Sebastian Deutsch schrieb: dont have karma - but I would love it! so +1 here. would it make sense to write an RFC? cheers Sebastian Stan Vassilev | FM schrieb: Hi, I hear this often b

[PHP-DEV] Re: Short syntax for array literals [...]

2008-05-27 Thread Sebastian Deutsch
dont have karma - but I would love it! so +1 here. would it make sense to write an RFC? cheers Sebastian Stan Vassilev | FM schrieb: Hi, I hear this often by other developers and I tend to agree with them, that arrays are used often, and often nested, so that having a long syntax for array

Re: [PHP-DEV] Overloading Clarifications for Manual

2008-05-27 Thread Stanislav Malyshev
Hi! the proposal is not yet ready, so there can't be a decision or valuable discussion at this point. Please leave me some time to finish it :) OK, no problem. I was just surprised it's being discussed, and yet in non-related topic :) -- Stanislav Malyshev, Zend Software Architect [EMAIL PRO

Re: [PHP-DEV] Unicode progress [Was: unicode.semantics ad infinitum]

2008-05-27 Thread Andrei Zmievski
Steph Fox wrote: OK, so there are some things that should maybe 'just happen' here, and also when 'S' is used: PHP_NAMED_FUNCTION(php_if_crc32) { char *p; int len, nr; php_uint32 crcinit = 0; register php_uint32 crc; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S", &p, &nr) == FAILUR