Hi Netroby, On Mon, Mar 16, 2015 at 12:03 PM, Netroby <hufeng1...@gmail.com> wrote:
> Does the "in" support this kind of php code ? > > ```php > <?php > $arr = ['a', 'b', 'c']; > for ($v in $arr) { > echo $v; > } > > > ``` > > I know javascript has this kind of support > > > https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...in > No. We have foreach for this. Shells support this syntax, too. It may be confusing for some users. Good point. Regards, -- Yasuo Ohgaki yohg...@ohgaki.net