Bug#636146: [php-maint] Bug#636146: php5-cli: STDIN not defined in CLI

2011-08-01 Thread Robert Kawecki
> The PHP documentation doesn't say anything about assignment to variables. Are > you sure this is a valid use case? > > Ondřej Surý Yes, it's a valid use case, and this is reproducible with any reference to these constants, not only an assignment. During testing today, I've found that this only

Bug#636146: [php-maint] Bug#636146: php5-cli: STDIN not defined in CLI

2011-08-01 Thread Robert Kawecki
Oops. Rechecked again. Yes, there's a note :[ Okay, I missed that part in the docs. This bug can be closed now. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Bug#636146: [php-maint] Bug#636146: php5-cli: STDIN not defined in CLI

2011-08-01 Thread Ondřej Surý
The PHP documentation doesn't say anything about assignment to variables. Are you sure this is a valid use case? Ondřej Surý On 31.7.2011, at 19:43, Robert Kawecki wrote: > Package: php5-cli > Version: 5.3.3-7+squeeze3 > Severity: normal > > STDIN does not seem to be defined in CLI mode, desp

Bug#636146: php5-cli: STDIN not defined in CLI

2011-07-31 Thread Robert Kawecki
Package: php5-cli Version: 5.3.3-7+squeeze3 Severity: normal STDIN does not seem to be defined in CLI mode, despite the documentation (http://www.php.net/manual/en/features.commandline.io-streams.php). Same goes for STDOUT and STDERR. "The CLI SAPI defines a few constants for I/O streams to make p