Date: 02/28/00
- Next message: sicenni <email protected>: "[PHP-DEV] Bug #3653: open64 error when apache start in libphp3.so"
- Previous message: coelho <email protected>: "[PHP-DEV] Bug #3652: broken compilation"
- In reply to: Faisal Nasim: "Re: [PHP-DEV] PHP 4.0 Bug #3634: arrays in list"
- Next in thread: Faisal Nasim: "Re: [PHP-DEV] PHP 4.0 Bug #3634: arrays in list"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, 27 Feb 2000, Faisal Nasim wrote:
> : I believe Andi posted about two weeks back that list() is not guaranteed
> : to assign values in any well-defined order.
>
> But why does it ALWAYS set the correct order in PHP4b3 and
> REVERSED (not random!) order in PHP4b4.....
Right. In one version the behavior may be one way; in another version the
behavior may change. If notice that for the version of PHP you're using
the behavior seems to be consistant, you may choose to write scripts that
depend upon it. However, those scripts may break when you upgrade and you
shouldn't be surprised by that, nor expect any heads up warning, since
you're not supposed to be depending upon it in the first place.
-adam
-- / adam maccabee trachtenberg | visit college life online \ \ adam <email protected> | http://www.student.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: sicenni <email protected>: "[PHP-DEV] Bug #3653: open64 error when apache start in libphp3.so"
- Previous message: coelho <email protected>: "[PHP-DEV] Bug #3652: broken compilation"
- In reply to: Faisal Nasim: "Re: [PHP-DEV] PHP 4.0 Bug #3634: arrays in list"
- Next in thread: Faisal Nasim: "Re: [PHP-DEV] PHP 4.0 Bug #3634: arrays in list"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

