mirror of
https://github.com/php/php-src.git
synced 2026-04-25 08:58:28 +02:00
byref really means that we want the zval...
This commit is contained in:
+4
-5
@@ -539,15 +539,14 @@ static inline void vt_type_to_zpp_string(ELEMDESC *elem, smart_str *argtypes_str
|
||||
}
|
||||
}
|
||||
|
||||
smart_str_appendl(argtypes_str, &zppflag, 1);
|
||||
if (ref) {
|
||||
smart_str_appendl(argtypes_str, "/", 1);
|
||||
smart_str_appendl(argtypes_str, "z/", 2);
|
||||
*argflags = BYREF_FORCE;
|
||||
} else {
|
||||
*argflags = BYREF_NONE;
|
||||
}
|
||||
if (nullable) {
|
||||
smart_str_appendl(argtypes_str, "!", 1);
|
||||
if (nullable) {
|
||||
smart_str_appendl(argtypes_str, "!", 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user