PHP 4.0 Bug #4980: Functions min() and max() don't work with arrays. They return nothing.
| From: | dron at te dot net dot ua | Date: | Mon, 12 Jun 2000 14:16:29 +0000 |
| Subject: | PHP 4.0 Bug #4980: Functions min() and max() don't work with arrays. They return nothing. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-21098@lists.php.net to get a copy of this message | ||
From: dron@te.net.ua
Operating system: Linux RedHat 5.2
PHP version: 4.0.0 Release
PHP Bug Type: Misbehaving function
Bug description: Functions min() and max() don't work with arrays. They return nothing.
<? $a=array (1,2,3); echo min($a),max($a); ?>
This script returns empty document.