|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59591 expect.logfile set to php://output not working
Submitted: 2011-01-25 16:09 UTC Modified: 2011-01-25 16:26 UTC
From: larry dot l dot low at gmail dot com Assigned:
Status: Not a bug Package: expect (PECL)
PHP Version: 5.2.10 OS: CentOS 5.5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: larry dot l dot low at gmail dot com
New email:
PHP Version: OS:


 [2011-01-25 16:09 UTC] larry dot l dot low at gmail dot com
I'm trying to set expect.logfile to use the php output buffer but it is not working.  I get nothing in the buffer.

Reproduce code:

$e = fopen('expect://echo Just a test','r');

switch (expect_expectl($e,array(array('something','something')))) {
        case EXP_TIMEOUT:
        case EXP_EOF:


Expected result:
output of 'Just a test'

Actual result:
no output


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-25 16:26 UTC] spektom at gmail dot com
Sorry, but your problem does not imply a bug in PECL itself.  For a
list of more appropriate places to ask for help using PECL, please
visit as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PECL.

php://output is not available in PHP-CLI.
Please run PHP-CGI instead.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Dec 05 22:05:54 2022 UTC