]> granicus.if.org Git - php/commit
Register STDIN, STDOUT, and STDERR "constants" in cli in cases where
authorEdin Kadribasic <edink@php.net>
Fri, 24 May 2002 01:17:37 +0000 (01:17 +0000)
committerEdin Kadribasic <edink@php.net>
Fri, 24 May 2002 01:17:37 +0000 (01:17 +0000)
commit1501657b2f82ea1c8052f8c1dd81a11582f63f86
tree71a2b25b51ddaaffbffa69ccc39dedd64ec38fd9
parentaafc03c45b8e04d7beb451172a46db6ce69501cf
Register STDIN, STDOUT, and STDERR "constants" in cli in cases where
script itself is not being loaded from STDIN.

This enables constructs like fwrite(STDERR, "Error 42");
sapi/cli/php_cli.c