PHP 4.0 Bug #4975: max and min functions don't work with an array as parameter

From: Date: Mon, 12 Jun 2000 11:16:29 +0000
Subject: PHP 4.0 Bug #4975: max and min functions don't work with an array as parameter
Groups: php.dev 
Request: Send a blank email to php-dev+get-21089@lists.php.net to get a copy of this message
From: h.dumont@computer.org Operating system: Mandrake 7.0 PHP version: 4.0 Latest CVS (12/06/2000) PHP Bug Type: Scripting Engine problem Bug description: max and min functions don't work with an array as parameter $test = max(1,2,3); // Works fine $t = array(1,2,3); $test=max($t); // Doesn't works $test=min($t); // Doesn't works

« previous php.dev (#21089) next »