Second argument of call_user_method is ref

This commit is contained in:
Xinchen Hui 2014-03-06 23:31:23 +08:00
parent 00cf4e5a58
commit 2d45dce4aa

View File

@ -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
) {