fclose(STDOUT) #85
jfoll
commented
Apr 30, 2014
|
with php alone, the same error occurs when replacing "STDOUT" with "stdout": fclose(stdout) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
my script "redirect.php":
Results:
% phpdbg -e redirect.php
phpdbg> r
[Attempting compilation of some_path/redirect.php]
[Success]
[PHP Warning: fclose() expects parameter 1 to be resource, string given in some_path/redirect.php on line 2]
N.B. The script Works fine wtih PHP 5.1.6 and PHP 5.6.0-beta1