That figures :)
I was using Off-Line manual I downloaded from PHP.net homepage and that note
is not in it, but it's well documented in the On-Line Manual :)
Thanks!
SED
-----Original Message-----
From: Alexander Wagner [mailto:[EMAIL PROTECTED]]
Sent: 17. febrúar 2001 15:07
To: SED; [EMAIL PROTECTED]
Subject: Re: [PHP] Apache on Linux vs. IIS on W2K
SED wrote:
> $foo = round (1.95583, 0);
>
> When I saved the code on a different server, Apache on Linux, I got
> this error up:
>
> Warning: Wrong parameter count for round() ... bla, bla
A look into the manual reveals:
"Note: The precision parameter is only available in PHP 4."
Looks like your Apache is running PHP 3.
> So the question is, why is this acting like this? (When I meet "pro"
> they say Apache, Linux e.g.. is the best, and curse the IIS and W2K,
> but at this time I would say it's a myth..)
Well, LAMP and IIS should at least meet on equal ground.
You just can't compare two servers, when they are running different
versions of PHP or have different configurations in php.ini.
regards
Wagner
--
Three may keep a secret, if two of them are dead.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]