Bug #52911 [Com]: fwrite doesn't write long strings to a php stream

From: Date: Thu, 03 Mar 2011 14:23:23 +0000
Subject: Bug #52911 [Com]: fwrite doesn't write long strings to a php stream
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-159196@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=52911&edit=1

 ID:                 52911
 Comment by:         tyra3l at gmail dot com
 Reported by:        mz dot evgeny at gmail dot com
 Summary:            fwrite doesn't write long strings to a php stream
 Status:             Verified
 Type:               Bug
 Package:            *General Issues
 Operating System:   Windows
 PHP Version:        5.3.3
 Block user comment: N
 Private report:     N

 New Comment:

so are we waiting for a patch, or is this a won'tfix?

Tyrael


Previous Comments:
------------------------------------------------------------------------
[2011-02-09 10:30:02] pajoye@php.net

If there is no further comment, no, no news.

Also there is a limit in the size of the command line arguments
(platform-version 
dependent), so using very long cmd line is a bad idea, pipes or file
based 
argument is a way better way to do such things.

------------------------------------------------------------------------
[2011-02-09 10:26:59] tyra3l at gmail dot com

any update on this?

Tyrael

------------------------------------------------------------------------
[2010-10-17 10:49:09] bouke at webatoom dot nl

I ran into the same problem, but sleep(1) didn't work. I had to use
sleep(2) 
on my machine (Win7 x64 on C2Q9450).

------------------------------------------------------------------------
[2010-09-24 04:45:37] cataphract@php.net

Strangely, it works if you sleep(1) after proc_open.

------------------------------------------------------------------------
[2010-09-23 13:36:35] mz dot evgeny at gmail dot com

It will be more correct to say that it does write the whole string, but
php.exe doesn't get the complete string for some reason.

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


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/bug.php?id=52911


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


Thread (13 messages)

« previous php.bugs (#159196) next »