ID: 9148
Updated by: derick
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
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


-- 
PHP Development 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]

Reply via email to