Date: 12/06/00
- Next message: Andi Gutmans: "Re: [PHP-DEV] CVS Account Request"
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #8103 Updated: Undeclared"
- Next in thread: Jani Taskinen: "Re: [PHP-DEV] RE: PHP 4.0 Bug #8106 Updated: array_pop problem when using against an array returned from a class"
- Reply: Jani Taskinen: "Re: [PHP-DEV] RE: PHP 4.0 Bug #8106 Updated: array_pop problem when using against an array returned from a class"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 01:17 AM 12/6/00 +0200, Jani Taskinen wrote:
>On Wed, 6 Dec 2000, Andrew Broadley wrote:
>
> >I found out the problem, since im just getting used to PHP coming from Perl,
> >I didn't know that you can have indexed strings, which coming from Perl,
> >look like arrays at first glace, all I had to do was define $query as an
> >array (). Problem solved :o) Cheers
>
>Yes. But I still think you really found a bug. :)
>
> >> $number = array_pop($output);
>
>Does anyone (php-dev) have any objections to not to
>make array_pop() return FALSE on this error?
>(when the $output is not an array)
>
>Or am I missing something here?
Can you explain the problem?
I missed it somehow :)
Andi
--- Andi Gutmans <andi <email protected>> http://www.zend.com/-- 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: Andi Gutmans: "Re: [PHP-DEV] CVS Account Request"
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #8103 Updated: Undeclared"
- Next in thread: Jani Taskinen: "Re: [PHP-DEV] RE: PHP 4.0 Bug #8106 Updated: array_pop problem when using against an array returned from a class"
- Reply: Jani Taskinen: "Re: [PHP-DEV] RE: PHP 4.0 Bug #8106 Updated: array_pop problem when using against an array returned from a class"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

