PHP 4.0 Bug #2689 Updated: asort behaviour changed over the week-end ?
| From: | Bug Database | Date: | Wed, 10 Nov 1999 07:49:21 +0000 |
| Subject: | PHP 4.0 Bug #2689 Updated: asort behaviour changed over the week-end ? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-12250@lists.php.net to get a copy of this message | ||
ID: 2689
Updated by: thies
Reported By: Danny.Heijl@cevi.be
Status: Closed
Bug Type: Scripting Engine problem
Assigned To:
Comments:
in php3:
if (1 < "hallo") // is FALSE
but
$m = min(1,"hallo"); // $m is 1
so in this case php is inconsistent with itself (i would classify *this* as a bug in php3) -
we changed this a few days ago on purpose in PHP 4 to make the language consistent with itself!
(but i can see your point, and i'm not too happy about it)
Full Bug description available at: http://bugs.php.net/?id=2689