php.net |  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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: halaeiv at gmail dot com
New email:
PHP Version: OS:

 

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

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



Patches

Pull Requests

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 11:01:30 2024 UTC