Date: 12/07/00
- Next message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #8147 Updated: Duplicate symbol gdImageColorResolve (Related to 7795)"
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #8106 Updated: array_pop problem when using against an array returned from a class"
- In reply to: Andi Gutmans: "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 ]
On Thu, 7 Dec 2000, Andi Gutmans wrote:
>I think array_pop() returns NULL to indicate it has no further elements.
>This is just in case you are saving bool() values in the array. It makes
>more sense.
Of course I didn't think of that situation. :(
So no bug. But documentation should mention this too.
For both array_pop() and array_shift().
--Jani
-- 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: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #8147 Updated: Duplicate symbol gdImageColorResolve (Related to 7795)"
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #8106 Updated: array_pop problem when using against an array returned from a class"
- In reply to: Andi Gutmans: "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 ]

