Bug #69452 [Fbk->Opn]: STDERR constant is undefined
| From: | cmb@php.net | Date: | Sat, 18 Apr 2015 14:52:49 +0000 |
| Subject: | Bug #69452 [Fbk->Opn]: STDERR constant is undefined | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-192189@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
Updated by: cmb@php.net
Reported by: padraic@php.net
Summary: STDERR constant is undefined
-Status: Feedback
+Status: Open
Type: Bug
Package: CGI/CLI related
Operating System: Ubuntu 14.10 32
PHP Version: master-Git-2015-04-14 (Git)
-Assigned To: cmb
+Assigned To:
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2015-04-18 14:43:09] padraic@php.net
https://travis-ci.org/padraic/humbug/jobs/58950141
This is running under Travis where the PHP version is described as: PHP 7.0.0-dev (cli) (built: Apr
16 2015 23:58:03). Same notice as previously reported. The STDERR appears undefined. The same tests
under PHP5 pass without any issue.
So I cloned php-src and compiled a copy. Same resulting notice using the CLI sapi (after make; no
make install).
PHP 7.0.0-dev (cli) (built: Apr 18 2015 13:14:50)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v3.0.0-dev, Copyright (c) 1998-2015 Zend Technologies
------------------------------------------------------------------------
[2015-04-17 23:33:13] cmb@php.net
I've just checked with #r9a0cb73 (Windows):
> php -r "var_dump(STDERR);"
resource(3) of type (stream)
Padraic, please check again.
------------------------------------------------------------------------
[2015-04-16 09:59:36] padraic dot brady at gmail dot com
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.
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=69452
--
Edit this bug report at https://bugs.php.net/bug.php?id=69452&edit=1