[PHP-DEV] RFC question (Re: [PHP-DEV] [PATCH] Allow use($var..) statement ubiquitously)

2008-07-23 Thread Moriyoshi Koizumi
I would like to keep this as a RFC page in wiki.php.net. Are there any conventions or rules that I should keep in mind? (or just-not- supposed-to-do-that-because-your-proposal-is-stupid-and-will-never-be- accepted?) Moriyoshi On 2008/07/18, at 8:23, Moriyoshi Koizumi wrote: Hi, Attached

Re: [PHP-DEV] RFC question (Re: [PHP-DEV] [PATCH] Allow use($var..) statement ubiquitously)

2008-07-23 Thread Lukas Kahwe Smith
On 23.07.2008, at 18:21, Moriyoshi Koizumi wrote: I would like to keep this as a RFC page in wiki.php.net. Are there any conventions or rules that I should keep in mind? (or just-not- supposed-to-do-that-because-your-proposal-is-stupid-and-will-never- be-accepted?) we have not really

Re: [PHP-DEV] [PATCH] Allow use($var..) statement ubiquitously

2008-07-21 Thread Lukas Kahwe Smith
On 18.07.2008, at 01:23, Moriyoshi Koizumi wrote: Hi, Attached are the patches that allow the use statement that was introduced with closures to appear within every function statement except method definitions. I think this feature is a good addition because it resolves inconsistency

Re: [PHP-DEV] [PATCH] Allow use($var..) statement ubiquitously

2008-07-18 Thread Larry Garfield
On Thursday 17 July 2008 6:23:31 pm Moriyoshi Koizumi wrote: Hi, Attached are the patches that allow the use statement that was introduced with closures to appear within every function statement except method definitions. I think this feature is a good addition because it resolves

Re: [PHP-DEV] [PATCH] Allow use($var..) statement ubiquitously

2008-07-18 Thread Moriyoshi Koizumi
That's one of the motivations for the patch. I never liked the new syntax, but if it was given a go, it should also be made consistent with the another part of the syntax. Oh, I just got one important thing in mind to mention; test1.php: ?php function a() { $a = bar;

Re: [PHP-DEV] [PATCH] Allow use($var..) statement ubiquitously

2008-07-18 Thread Richard Quadling
2008/7/18 Moriyoshi Koizumi [EMAIL PROTECTED]: That's one of the motivations for the patch. I never liked the new syntax, but if it was given a go, it should also be made consistent with the another part of the syntax. Oh, I just got one important thing in mind to mention; test1.php: ?php

Re: [PHP-DEV] [PATCH] Allow use($var..) statement ubiquitously

2008-07-18 Thread Moriyoshi Koizumi
On 2008/07/18, at 19:06, Richard Quadling wrote: 2008/7/18 Moriyoshi Koizumi [EMAIL PROTECTED]: running test1.php ends up with two lines of bar, surprisingly. This is somewhat confusing, but surely one of the things that could not ever be done. This might be a great help when you use a

[PHP-DEV] [PATCH] Allow use($var..) statement ubiquitously

2008-07-17 Thread Moriyoshi Koizumi
Hi, Attached are the patches that allow the use statement that was introduced with closures to appear within every function statement except method definitions. I think this feature is a good addition because it resolves inconsistency between closures and unticked functions. In a