ID:               33051
 Updated by:       [EMAIL PROTECTED]
 Reported By:      Trigunflame at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Semaphore related
 Operating System: windows xp
 PHP Version:      5.0.4
 New Comment:

There are NULL bytes at the end of data output (because you read more
than write - you've written $shm_bytes_written bytes and you're trying
to read $shm_size bytes).
Obviously FireFox doesn't like those null bytes and breaks the output
for some reason.
No PHP bug here.


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

[2005-05-19 01:19:44] Trigunflame at gmail dot com

Well according to PHP Doc, SHMOP shouldnt work in CLI on windows, yet
it does.

The output appears normal.. as it does in IE.

So, I really don't know what to say... PHP Handles the return data from
this function and passes through Apache etc.. which is then delivered to
FireFox. 

Question is.. how would FireFox correct an issue like this? Strip
certain ASCII from output or something?

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

[2005-05-19 01:13:12] [EMAIL PROTECTED]

If the problem appears in a browser, but it doesn't in another one,
then most likely it's not a PHP problem, right?

What is the *real* output you get?
I.e. the output you get when you execute this script using php.exe in
console.

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

[2005-05-19 01:05:19] Trigunflame at gmail dot com

Well in firefox, like I said earlier in the source view you can see
these [] brackets, and causes a linebreak on the last word in normal
view.

In IE, the problem doesn't occur.. no linebreaks, no weird []
brackets.

So I don't really know if you would classify this as a Firefox problem
or a PHP Problem, but technically; I don't believe it should be
returning any additional data than what was originally written in the
first place.

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

[2005-05-18 11:25:08] [EMAIL PROTECTED]

And what happens in another browser ?

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

[2005-05-18 04:38:24] Trigunflame at gmail dot com

Should say [] are visible when viewing source.. which are appended
after the expected result string, yet cause a linebreak..

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/33051

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

Reply via email to