ID:               24351
 User updated by:  php at glaciersoftware dot com
 Reported By:      php at glaciersoftware dot com
 Status:           Bogus
 Bug Type:         Scripting Engine problem
 Operating System: Linux 2.4.20-18.8 RedHat 8.0
 PHP Version:      4.3.1
 New Comment:

You're right, it is totally bogus. The problem was caused by a
third-party program running on my computer which watches the TCP/IP
stack and filters raw data for the Internet Explorer process running on
my Windows XP box and prevents pop-ups, ads, etc.


Previous Comments:
------------------------------------------------------------------------

[2003-06-26 17:52:40] [EMAIL PROTECTED]

And I can't reproduce anything like what you've described here, it's
totally bogus.


------------------------------------------------------------------------

[2003-06-26 17:51:28] [EMAIL PROTECTED]

Please don't submit same bug twice.


------------------------------------------------------------------------

[2003-06-26 15:37:52] php at glaciersoftware dot com

Description:
------------
For some unknown reason, the PHP scripting engine seems to replacing
the word "status" with "foo1" when an equal-sign, 0x3d, appears within
6 characters of the word "status".

Bug was reported on http://bugs.php.net as Bug #21851, but status was
changed to CLOSED after someone was not able to duplicate the problem.

Tested Environment
==================
The following webservers were used to test the below code for the
existance of this problem:
* PHP 4.2.1 with Apache/1.3.24 running on Linux 2.4.18-3 RedHat 7.3
* PHP 4.3.1 with Apache/2.0.43 running on Linux 2.4.20-18.8 RedHat 8.0

Code
====
The following code should replicate the problem. The "<br>\n" appended
to the echo() call is used only for readability, the problem will still
exist without this string added.

<< See Reproduce Code >>

Reproduce code:
---------------
<?php
   // *** Note the 6 spaces, 0x20, between the word status and the
equal-sign
   // *** the word "status" will be replaced with "foo1"
   $buf = "foo1        = 'C' ";
   echo($buf . "<br>\n");

   // *** The number of spaces has been changed from 6 to 7
   // *** now it doesn't replace "status" with "foo1"
   $buf = "status       = 'C' ";
   echo($buf . "<br>\n");
?>


Expected result:
----------------
status      = 'C' <br>
status       = 'C' <br>


Actual result:
--------------
foo1        = 'C' <br>
status       = 'C' <br>



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=24351&edit=1

Reply via email to