PHP 4.0 Bug #9148 Updated: PHP got space to every of my variables
| From: | derick@php.net | Date: | Wed, 07 Feb 2001 15:05:50 +0000 |
| Subject: | PHP 4.0 Bug #9148 Updated: PHP got space to every of my variables | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45948@lists.php.net to get a copy of this message | ||
ID: 9148
Updated by: derick
Reported By: stano@scifi.sk
Old-Status: Open
Status: Bogus
Bug Type: *General Issues
Assigned To:
Comments:
I'm 100% sure that PHP doesn't add a space before every value. I think you just made an
error in your script.
For the second problem, this is normal behavior, the empty string evalutes to 0.
Previous Comments:
---------------------------------------------------------------------------
[2001-02-07 09:55:55] stano@scifi.sk
If I use php4.0.4pl1, php does this.
If I make for. example:
$aa="fee";
Real value is " fee";
It does on every variables, why?
And second problem.
I have php free.php script:
<?php
if ($job=='') { echo "Job if free"; }
else { echo "Job is not free"; }
?>
But If I look on it from browser
and use: http://mysite.com/free.php
The result is "Job is not free";
Why?
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9148&edit=2