|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77042 closed stdout redirected to another file
Submitted: 2018-10-20 09:52 UTC Modified: -
From: halaeiv at gmail dot com Assigned:
Status: Open Package: *General Issues
PHP Version: 7.2.11 OS: Ubuntu 16.04
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
12 - 1 = ?
Subscribe to this entry?

 [2018-10-20 09:52 UTC] halaeiv at gmail dot com
In the following code, the echo command prints string "stdout" in file "out.txt", although it shouldn't:

    $out = fopen(__DIR__.'/out.txt', 'w');
    echo "stdout\n";


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Dec 03 18:01:27 2023 UTC