mirror of
https://github.com/php/php-src.git
synced 2024-09-27 21:07:25 +00:00
Second argument of call_user_method is ref
This commit is contained in:
parent
00cf4e5a58
commit
2d45dce4aa
@ -4824,6 +4824,8 @@ PHP_FUNCTION(call_user_method)
|
||||
return;
|
||||
}
|
||||
|
||||
object = Z_REFVAL_P(object);
|
||||
|
||||
if (Z_TYPE_P(object) != IS_OBJECT &&
|
||||
Z_TYPE_P(object) != IS_STRING
|
||||
) {
|
||||
@ -4856,6 +4858,8 @@ PHP_FUNCTION(call_user_method_array)
|
||||
return;
|
||||
}
|
||||
|
||||
object = Z_REFVAL_P(object);
|
||||
|
||||
if (Z_TYPE_P(object) != IS_OBJECT &&
|
||||
Z_TYPE_P(object) != IS_STRING
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user