Re: Re: Bad PHP error
| From: | Octavian Rasnita | Date: | Sun, 28 Nov 2004 00:32:49 +0000 |
| Subject: | Re: Re: Bad PHP error | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202985@lists.php.net to get a copy of this message | ||
Hi,
I also use Win 2k with PHP 5 in command line mode.
It is pretty strange that in an older version of Jaws it works better.
Or... could I make some settings to make it work like in your case?
Teddy
----- Original Message -----
From: "BAO RuiXian" <ruixian.bao@pp.inet.fi>
To: "Octavian Rasnita" <orasnita@fcc.ro>
Cc: <php-general@lists.php.net>
Sent: Sunday, November 28, 2004 1:58 AM
Subject: Re: [PHP] Re: Bad PHP error
Hello,
Octavian Rasnita wrote:
><?php
>$var = 1000000000000;
>//Here I have also tried inserting $var = (string) $var;
>echo "$var";
>?>
>
>This prints:
>
>1E+012
>
>and... not 1000000000000 as it should.
>
>
>
I tried the above example, and I got what you want, i.e. 1000000000000.
My environment is Windows 2k, PHP 4.3.3 and Apache 2.0.47.
Best
Bao
>I have first tried just echo $var, but I thought that maybe if I put it
>between quotes, it will be printed right, but...
>
>Thank you.
>
>Teddy
>
>
>
>