[PHP-DEV] Re: Addition of calendar to intl

2012-04-19 Thread Gustavo Lopes
On Wed, 18 Apr 2012 23:54:00 +0200, Stas Malyshev smalys...@sugarcrm.com wrote: I think the documentation part in this case is not as problematic, because the interface has been thoroughly documented in the ICU project. Most of your next questions can be answered by reading

Re: [PHP-DEV] Ability to assign new object to a class property.

2012-04-19 Thread Arvids Godjuks
I have to agree with Richard as a user-land developer. It looks nice, but knowing how people can twist things I don't think I would like this feature get implemented. It just add stuff that is crazy to debug. Consider someone adds a property and initializes a user-land object. That object has

Re: [PHP-DEV] [RFC] skipping optional parameters

2012-04-19 Thread Yasuo Ohgaki
Hi, Just a though for named parameter, since it seems its becoming a relevant topic now. 2012/4/18 Daniel Macedo admac...@gmail.com: I'll keep going offtopic a bit more. I would rather see named parameters implemented *prior* to this. Although maybe not instead, I think both might have their

[PHP-DEV] Patch to use expression with new keyword

2012-04-19 Thread Frédéric Hardy
Hi everyone ! Just done a pull request (https://github.com/php/php-src/pull/62) on php/php-src to allow the use of an expression with new keyword. The patch allow the user to do : ?php class Foo {} $oo = 'oo'; $foo = new {'f' . $oo}; ? Moreover, seems to me that it's not possible to

Re: [PHP-DEV] Re: [RFC] skipping optional parameters

2012-04-19 Thread Patrick ALLAERT
2012/4/18 Matthew Weier O'Phinney weierophin...@php.net: My one comment, which others have raised, is readability of multiple commas -- TBH, at first glance it has the appearance of a mistake. I think those suggesting a keyword such as default make a good point in this regard -- it makes it

Re: [PHP-DEV] [VOTE] Allow non-variable arguments to empty()

2012-04-19 Thread Nikita Popov
On Thu, Apr 19, 2012 at 1:57 AM, Kris Craig kris.cr...@gmail.com wrote: Ugh I hate to throw a POO into this, but On Wed, Apr 18, 2012 at 4:09 PM, Nikita Popov nikita@googlemail.com wrote: Hey internals :) As there doesn't seem to be any further discussion regarding my RFC, I've

Re: [PHP-DEV] Re: [RFC] skipping optional parameters

2012-04-19 Thread Matthew Weier O'Phinney
On 2012-04-19, Patrick ALLAERT patrickalla...@php.net wrote: 2012/4/18 Matthew Weier O'Phinney weierophin...@php.net : My one comment, which others have raised, is readability of multiple commas -- TBH, at first glance it has the appearance of a mistake. I think those suggesting a keyword

Re: [PHP-DEV] [RFC] skipping optional parameters

2012-04-19 Thread Matthew Weier O'Phinney
On 2012-04-19, Yasuo Ohgaki yohg...@ohgaki.net wrote: Just a though for named parameter, since it seems its becoming a relevant topic now. 2012/4/18 Daniel Macedo admac...@gmail.com : snip I agree with this! But for short array syntax we kept the =  as in $array = [foo = bar]; Not sure

Re: [PHP-DEV] [VOTE] Allow non-variable arguments to empty()

2012-04-19 Thread Pierre Joye
hi, On Thu, Apr 19, 2012 at 3:11 PM, Nikita Popov nikita@googlemail.com wrote: I've asked about this on IRC and it seems like there is no problem opening the vote now. Quoting: The purpose of the waiting period is to allow time for discussion instead of rushing things before someone can

Re: [PHP-DEV] Re: Addition of calendar to intl

2012-04-19 Thread Christopher Jones
On 04/19/2012 12:53 AM, Gustavo Lopes wrote: On Wed, 18 Apr 2012 23:54:00 +0200, Stas Malyshev smalys...@sugarcrm.com wrote: I think the documentation part in this case is not as problematic, because the interface has been thoroughly documented in the ICU project. Most of your next

RE: [PHP-DEV] Re: internals Digest 18 Apr 2012 20:34:27 -0000 Issue 2671

2012-04-19 Thread Clint M Priest
I like this idea quite a bit, it would allow for more rapid deprecation of outdated ideas. Wouldn't this require multiple interpreters though? Might add a lot of complexity to the code as well, possibly not. -Original Message- From: Rasmus Schultz [mailto:ras...@mindplay.dk] Sent:

[PHP-DEV] RFC: Property get/set syntax

2012-04-19 Thread Clint M Priest
The only open comments I have on this project is the read-only and write-only keywords. Are the dashes acceptable or undesirable? write-only was not in the original RFC but made sense to have the alternate to read-only, any objections? If there is no other discussion for this, I'd like to