mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fixed method argument parsing
This commit is contained in:
parent
670ef9decd
commit
d0311ad28e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue