php version: php4-STABLE-200212101230
apache: 2.0.43
os/platform: solaris 9/sparc
compiler: gcc 3.2
I ran configure with
./configure \
--prefix=${ROOT} \
--with-apxs2=/${ROOT}/bin/apxs \
--with-config-file-path=${ROOT}/conf \
--with-openssl=/usr/local \
--with-xml \
--enable-wddx \
--enable-track-vars \
--enable-trans-sid \
--enable-inline-optimization \
--disable-posix-threads \
--with-mysql=${MYSQLROOT} \
--with-pdflib \
--with-jpeg-dir \
--with-tiff-dir \
--enable-libgcc
The following code spits out 5, 36 times:
for ($i = 0; $i < 36; $i++) {
$xrand = rand(5, 15);
echo "$xrand <br>";
}
If I take out the args to rand() then it spits out random numbers
between 0 and whatever (presumably what getrandmax() returns).
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php