php-developer-list | 2001122
Date: 12/29/01
- Next message: Egon Schmid: "[PHP-DEV] Re: [PHP-DOC] Re: [PHP-DEV] [IMPORTANT] wishes for php ..."
- Previous message: Stig Venaas: "Re: [PHP-DEV] Re: is_array_multidimensional"
- In reply to: Stig Venaas: "Re: [PHP-DEV] Re: is_array_multidimensional"
- Next in thread: Vlad Bosinceanu: "Re: [PHP-DEV] Re: is_array_multidimensional"
- Reply: Vlad Bosinceanu: "Re: [PHP-DEV] Re: is_array_multidimensional"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 10:42 PM 12/29/2001 +0100, Stig Venaas wrote:
>On Sat, Dec 29, 2001 at 11:13:11PM +0200, Andi Gutmans wrote:
> > I agree with Jim. Arrays can contain "things". Things can also be other
> > arrays. You can have an array which contains two other arrays and four
> > integers. I don't think we should add these functions because they are
> > wrong *especially* the is_array_multidimensional().
>
>Agree
>
> > Of course, if there's a good reason to have them and we're all convinced
> > that the reasons are good we could add them.
> > Can you please roll back that patch and open up a discussion with examples
> > of why this functionality is needed? It might even lead to a different
> > solution.
>
>One solution (not so sure I like it myself), could be a function that
>tells whether an array contains values of a given type. Then you could
>check if the array contained an array (or any other type). I've never
>had a use for such myself.
Let's first try and understand the problem :) In what case does the user
need these functions and how often does this happen to people. Once we
understand the problem well we can think together of a good solution.
Andi
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Egon Schmid: "[PHP-DEV] Re: [PHP-DOC] Re: [PHP-DEV] [IMPORTANT] wishes for php ..."
- Previous message: Stig Venaas: "Re: [PHP-DEV] Re: is_array_multidimensional"
- In reply to: Stig Venaas: "Re: [PHP-DEV] Re: is_array_multidimensional"
- Next in thread: Vlad Bosinceanu: "Re: [PHP-DEV] Re: is_array_multidimensional"
- Reply: Vlad Bosinceanu: "Re: [PHP-DEV] Re: is_array_multidimensional"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

