diff options
author | Andi Gutmans <andi@php.net> | 2002-06-29 16:01:40 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2002-06-29 16:01:40 +0000 |
commit | 401c26fb5ef1abb32378c53c0b02d168b5763e15 (patch) | |
tree | 45eddbf1a0b6632762c25a045025a8400d465f00 | |
parent | 06ad4767e331a0a14935b8f6b603b76fe36c0a10 (diff) | |
download | php-git-401c26fb5ef1abb32378c53c0b02d168b5763e15.tar.gz |
- Invalid -> Undefined
-rw-r--r-- | Zend/zend_execute_API.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index e7515c60c0..efa5cafee9 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -337,7 +337,7 @@ ZEND_API int zval_update_constant(zval **pp, void *arg TSRMLS_DC) last = tsrm_strtok_r(p->value.str.val, ":", &temp); if (zend_lookup_class(last, strlen(last), &ce TSRMLS_CC) == FAILURE) { - zend_error(E_ERROR, "Invalid class '%s'", last); + zend_error(E_ERROR, "Undefined class '%s'", last); } last = tsrm_strtok_r(NULL, ":", &temp); @@ -348,12 +348,12 @@ ZEND_API int zval_update_constant(zval **pp, void *arg TSRMLS_DC) break; } if (zend_hash_find(&(*ce)->class_table, last, strlen(last)+1, (void **)&ce) == FAILURE) { - zend_error(E_ERROR, "Invalid sub-class '%s'", last); + zend_error(E_ERROR, "Undefined sub-class '%s'", last); } last = cur; } if (zend_hash_find(&(*ce)->constants_table, last, strlen(last)+1, (void **) &value) == FAILURE) { - zend_error(E_ERROR, "Invalid class constant '%s'", last); + zend_error(E_ERROR, "Undefined class constant '%s'", last); } const_value = **value; zval_copy_ctor(&const_value); |