#48803 [Asn->Csd]: fprintf(STDOUT, ...) and printf(...) behave differently and affect STDERR
| From: | bjori@php.net | Date: | Sun, 17 Jan 2010 14:46:21 +0000 |
| Subject: | #48803 [Asn->Csd]: fprintf(STDOUT, ...) and printf(...) behave differently and affect STDERR | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-3729@lists.php.net to get a copy of this message | ||
ID: 48803
Updated by: bjori@php.net
Reported By: andrey dot vihrov at gmail dot com
-Status: Assigned
+Status: Closed
Bug Type: Documentation problem
Operating System: Gentoo Linux amd64
PHP Version: 5.*, 6CVS (2009-07-06)
Assigned To: bjori
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2010-01-17 14:45:59] svn@php.net
Automatic comment from SVN on behalf of bjori
Revision: http://svn.php.net/viewvc/?view=revision&revision=293645
Log: Hopefully fixed bug#48803
"copy&paste" from an email from Rasmus to internals@ recently
------------------------------------------------------------------------
[2010-01-16 23:27:24] jani@php.net
If you really think I can remember what was needed half a year ago, you
must be dreaming. Figure it out yourself.
------------------------------------------------------------------------
[2010-01-16 22:18:49] bjori@php.net
I don't have the slightest idea what is expected to be documented
here.
Could you please explain (preferably with a copy&pasteable example)
what should be documented?
------------------------------------------------------------------------
[2009-07-07 12:59:20] jani@php.net
Actually this is by design. Since PHP is meant primarily for web usage,
such "weird" things are necessary like using ignore_user_abort(true); to
get full "power" for console scripts.
This should be mentioned in relevant parts in documentation. printf()
mainly since that is especially tricky if you don't know things works
under the hood.
------------------------------------------------------------------------
[2009-07-06 13:00:58] jani@php.net
As a workaround, just set 'ignore_user_abort=1' in your CLI ini.
------------------------------------------------------------------------
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/48803
--
Edit this bug report at http://bugs.php.net/?id=48803&edit=1