mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Show "php://stdin" instead of "-" in error messages
This commit is contained in:
parent
28ebf8df66
commit
a103aa2dbd
5 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue