mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-26 18:35:42 +00:00
Second argument of call_user_method is ref
This commit is contained in:
1 parent
00cf4e5a58
commit
2d45dce4aa
1 file changed
+4
@@ -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
|
||||
) {
|
||||
|
||||
Reference in new issue
Block a user