Re: [PHP-DEV] Re: RFC array functions

2006-05-28 Thread Marcus Boerger
Hello boots, there are two rules that could be applied. First is the extension name followed by underscore followed by functional name. Second is "is_" followed by type condition. The important thing here is that the latter rule so far has been mainly used for type checks. And in this case we ar

[PHP-DEV] Re: RFC array functions

2006-05-28 Thread Marcus Boerger
Hello Greg, works too of course. I whose array_has_more() becasue there is a compareable iterator function namely CachingIterator::hasMore(). best regards marcus Sunday, May 28, 2006, 7:00:54 AM, you wrote: > Marcus Boerger wrote: >> Hello internals, >> >> i'd like to add two array function

Re: [PHP-DEV] Re: RFC array functions

2006-05-28 Thread boots
--- Greg Beaver <[EMAIL PROTECTED]> wrote: > Marcus Boerger wrote: > > Hello internals, > > > > i'd like to add two array functions: > > > > - bool array_has_more(array $array) > > I don't like "array_has_more" > > array_at_end() > > would work better for me since the function that makes it

[PHP-DEV] Re: RFC array functions

2006-05-27 Thread Greg Beaver
Marcus Boerger wrote: > Hello internals, > > i'd like to add two array functions: > > - bool array_has_more(array $array) I don't like "array_has_more" array_at_end() would work better for me since the function that makes it evaluate as true is: end($array); Greg P.S. sorry if this double

[PHP-DEV] Re: RFC array functions

2006-05-27 Thread Greg Beaver
Marcus Boerger wrote: > Hello internals, > > i'd like to add two array functions: > > - bool array_has_more(array $array) I don't like "array_has_more" array_at_end() would work better for me since the function that makes it evaluate as true is: end($array); Greg -- PHP Internals - PHP R