cvs: ZendEngine2 / zend_execute_API.c

From: Date: Sat, 29 Jun 2002 16:01:41 +0000
Subject: cvs: ZendEngine2 / zend_execute_API.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-230@lists.php.net to get a copy of this message
andi Sat Jun 29 12:01:41 2002 EDT Modified files: /ZendEngine2 zend_execute_API.c Log: - Invalid -> Undefined Index: ZendEngine2/zend_execute_API.c diff -u ZendEngine2/zend_execute_API.c:1.166 ZendEngine2/zend_execute_API.c:1.167 --- ZendEngine2/zend_execute_API.c:1.166 Sat Jun 29 11:30:27 2002 +++ ZendEngine2/zend_execute_API.c Sat Jun 29 12:01:40 2002 @@ -337,7 +337,7 @@ 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 @@ 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);

« previous php.zend-engine.cvs (#230) next »