mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
Unicode support cleanup
This commit is contained in:
parent
24743055a3
commit
f4b8f4e958
11 changed files with 67 additions and 137 deletions
|
@ -1691,7 +1691,7 @@ PHP_FUNCTION(getopt)
|
|||
|
||||
MAKE_STD_ZVAL(val);
|
||||
if (optarg != NULL) {
|
||||
ZVAL_STRING(val, optarg, 1);
|
||||
ZVAL_RT_STRING(val, optarg, 1);
|
||||
} else {
|
||||
ZVAL_FALSE(val);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue