]> granicus.if.org Git - php/commitdiff
Adjust the error message.
authorAndrei Zmievski <andrei@php.net>
Mon, 30 Dec 2002 18:30:50 +0000 (18:30 +0000)
committerAndrei Zmievski <andrei@php.net>
Mon, 30 Dec 2002 18:30:50 +0000 (18:30 +0000)
Zend/zend_execute_API.c

index 41012d4e82a174123b9116076ceca412262e9a8e..e0099920bbeeab0e424869328ef8108640c272e8 100644 (file)
@@ -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;
                        }