Date: 02/20/01
- Next message: aboldt <email protected>: "[PHP-DEV] PHP 4.0 Bug #9031 Updated: ob_gzhandler memory leak and Headers already sent message!"
- Previous message: Stig Venaas: "Re: [PHP-DEV] PHP 4.0 Bug #9337 Updated: make in_array return key, if searched value was found"
- In reply to: Stig Venaas: "Re: [PHP-DEV] PHP 4.0 Bug #9337 Updated: make in_array return key, if searched value was found"
- Next in thread: Jason Greene: "Re: [PHP-DEV] PHP 4.0 Bug #9337 Updated: make in_array return key, if searched value was found"
- Reply: Jason Greene: "Re: [PHP-DEV] PHP 4.0 Bug #9337 Updated: make in_array return key, if searched value was found"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 20 Feb 2001, Stig Venaas wrote:
> I could in order to save the position do $key = key($arr). To
> restore it later, I could then do something like array_setpos($key).
> I'm not sure if the Zend API allows for setting the position without
> looping through the array though. If array_setpos() is passed a non-
> existing key it should return FALSE, else TRUE.
I don't think Zend API allows that, but it's possible if you loop
through it.
>
> What do you think?
I wouldn't have a use for that function personally, but I can't say the
same for others...
-Andrei
"The time from now until the completion
of the project tends to become constant." -- Douglas Hartree
-- 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: aboldt <email protected>: "[PHP-DEV] PHP 4.0 Bug #9031 Updated: ob_gzhandler memory leak and Headers already sent message!"
- Previous message: Stig Venaas: "Re: [PHP-DEV] PHP 4.0 Bug #9337 Updated: make in_array return key, if searched value was found"
- In reply to: Stig Venaas: "Re: [PHP-DEV] PHP 4.0 Bug #9337 Updated: make in_array return key, if searched value was found"
- Next in thread: Jason Greene: "Re: [PHP-DEV] PHP 4.0 Bug #9337 Updated: make in_array return key, if searched value was found"
- Reply: Jason Greene: "Re: [PHP-DEV] PHP 4.0 Bug #9337 Updated: make in_array return key, if searched value was found"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

