You are here: Re: Which PHP am I running? « PHP Programming Language « IT news, forums, messages
Re: Which PHP am I running?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация