Bug #15003: problem with range() function
| From: | jolt at mail dot contactdesigns dot com | Date: | Fri, 11 Jan 2002 23:03:41 +0000 |
| Subject: | Bug #15003: problem with range() function | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-76712@lists.php.net to get a copy of this message | ||
From: jolt@mail.contactdesigns.com
Operating system: Linux 2.4
PHP version: 4.1.1
PHP Bug Type: Unknown/Other Function
Bug description: problem with range() function
problem with range() function:
$test = range(settype($seats[1], 'integer'), settype($seats[2],
'integer'));
First argument equals 1 second equals 25 confirmed by this var_dump:
[1]=> int(1) [2]=> int(25)
var_dump($test) returns:
array(1) { [0]=> int(1) }
PHP configure setup:
./configure --with-mysql=/usr/local/mysql --with-zlib
--with-apache=../$apache --enable-track-vars
--with-config-file=$target/conf
--
Edit bug report at: http://bugs.php.net/?id=15003&edit=1