mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-29 03:45:43 +00:00
Fixed method argument parsing
This commit is contained in:
1 parent
670ef9decd
commit
d0311ad28e
1 file changed
+1
-1
+1
-1
@@ -1011,7 +1011,7 @@ ZEND_API int zend_parse_method_parameters(int num_args TSRMLS_DC, zval *this_ptr
|
||||
zval **object;
|
||||
zend_class_entry *ce;
|
||||
|
||||
if (!this_ptr) {
|
||||
if (!this_ptr || Z_TYPE_P(this_ptr) != IS_OBJECT) {
|
||||
RETURN_IF_ZERO_ARGS(num_args, p, 0);
|
||||
|
||||
va_start(va, type_spec);
|
||||
|
||||
Reference in new issue
Block a user