mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
Adjust the error message.
This commit is contained in:
parent
33f364b5fc
commit
4f8c44b091
@ -518,7 +518,7 @@ int call_user_function_ex(HashTable *function_table, zval **object_pp, zval *fun
|
||||
/* TBI!! new object handlers */
|
||||
if (Z_TYPE_PP(object_pp) == IS_OBJECT) {
|
||||
if (!IS_ZEND_STD_OBJECT(**object_pp)) {
|
||||
zend_error(E_WARNING, "Cannot use call_user_function on overloaded objects");
|
||||
zend_error(E_WARNING, "Cannot use call_user_function on objects without a class entry");
|
||||
return FAILURE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user