Bug #69452 [Com]: STDERR constant is undefined

From: Date: Thu, 16 Apr 2015 09:59:37 +0000
Subject: Bug #69452 [Com]: STDERR constant is undefined
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-192128@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69452&edit=1 ID: 69452 Comment by: padraic dot brady at gmail dot com Reported by: padraic@php.net Summary: STDERR constant is undefined Status: Not a bug Type: Bug Package: CGI/CLI related Operating System: Ubuntu 14.10 32 PHP Version: master-Git-2015-04-14 (Git) Block user comment: N Private report: N New Comment: That's good to know, since Humbug is a CLI application...and it's clearly not defined. The example links to a Travis build showing Humbug's tests passing under PHP5 and the failure with this notice under PHP7 which I though would be helpful. Apologies if I misunderstood, but it just looks like you closed this report without enough consideration. Previous Comments: ------------------------------------------------------------------------ [2015-04-15 09:47:19] laruence@php.net Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php ------------------------------------------------------------------------ [2015-04-15 08:43:14] laruence@php.net sapi ------------------------------------------------------------------------ [2015-04-15 08:43:03] laruence@php.net STDERR only is pre-defined in cli api ------------------------------------------------------------------------ [2015-04-14 20:57:39] padraic@php.net Description: ------------ The STDERR constant appears to be undefined showing: Notice: Use of undefined constant STDERR - assumed 'STDERR' in /path/to/something.php on line 23 Example: https://travis-ci.org/padraic/humbug/jobs/58504971 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69452&edit=1

« previous php.bugs (#192128) next »