|
Posted by Andy Hassall on 12/17/77 11:52
On 10 Jul 2006 15:03:19 -0700, "Chung Leong" <chernyshevsky@hotmail.com> wrote:
>Andy Hassall wrote:
>> On 10 Jul 2006 14:45:30 -0700, "Chung Leong" <chernyshevsky@hotmail.com> wrote:
>>
>> >Andy Hassall wrote:
>> >> On 10 Jul 2006 13:25:00 -0700, "Chung Leong" <chernyshevsky@hotmail.com> wrote:
>> >> Unfortunately not; stdout is still writable, but it's just discarded - similar
>> >> to redirecting to /dev/null on Unix.
>> >
>> >No, having the handles of stdout being null is different from the
>> >stdout redirected to to null. Double check your code.
>>
>> Which part? The previous code behaves identically when run through php.exe and
>> php-win.exe (other than what is actually seen coming out of stdout). What am I
>> missing?
>
>This line: fwrite("out.txt", "error branch\n");
>
>I hate it when it happens too ;-)
Argh! Yes you're quite right - sorry.
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Navigation:
[Reply to this message]
|