diff options
Diffstat (limited to 'Zend/zend_interfaces.c')
| -rwxr-xr-x | Zend/zend_interfaces.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_interfaces.c b/Zend/zend_interfaces.c index 3a4e2f3e4f..59c986a3c2 100755 --- a/Zend/zend_interfaces.c +++ b/Zend/zend_interfaces.c @@ -344,7 +344,7 @@ static int zend_implement_aggregate(zend_class_entry *interface, zend_class_entr if (class_type->num_interfaces) { for (i = 0; i < class_type->num_interfaces; i++) { if (class_type->interfaces[i] == zend_ce_iterator) { - zend_error(E_ERROR, "Class %s cannot implement both %s and %s at the same time.", + zend_error(E_ERROR, "Class %s cannot implement both %s and %s at the same time", class_type->name, interface->name, zend_ce_iterator->name); @@ -376,7 +376,7 @@ static int zend_implement_iterator(zend_class_entry *interface, zend_class_entry } else { /* c-level get_iterator cannot be changed */ if (class_type->get_iterator == zend_user_it_get_new_iterator) { - zend_error(E_ERROR, "Class %s cannot implement both %s and %s at the same time.", + zend_error(E_ERROR, "Class %s cannot implement both %s and %s at the same time", class_type->name, interface->name, zend_ce_aggregate->name); |
