Show "php://stdin" instead of "-" in error messages

This commit is contained in:
Andrea Faulds 2015-05-21 18:08:01 +01:00 committed by Joe Watkins
parent 28ebf8df66
commit a103aa2dbd
5 changed files with 6 additions and 6 deletions

View file

@ -2431,7 +2431,7 @@ consult the installation file that came with this distribution, or visit \n\
file_handle.filename = SG(request_info).path_translated;
file_handle.handle.fp = NULL;
} else {
file_handle.filename = "-";
file_handle.filename = "php://stdin";
file_handle.type = ZEND_HANDLE_FP;
file_handle.handle.fp = stdin;
}