summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-03-06 10:09:13 +0000
committerMarcus Boerger <helly@php.net>2006-03-06 10:09:13 +0000
commit94165e41a79f8e75737c25ae15b80188a2b47c34 (patch)
tree8c81ec4df5c74d04e042802f2c0e38d70643ae0b
parentf08316b5257ec58558324d89a1e336f71f22a1be (diff)
downloadphp-git-94165e41a79f8e75737c25ae15b80188a2b47c34.tar.gz
- There is no %v in 5.1 (found by Tony)
-rwxr-xr-xext/spl/spl_iterators.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/spl/spl_iterators.c b/ext/spl/spl_iterators.c
index f5bc893602..533223d48b 100755
--- a/ext/spl/spl_iterators.c
+++ b/ext/spl/spl_iterators.c
@@ -817,7 +817,7 @@ int spl_dual_it_call_method(char *method, INTERNAL_FUNCTION_PARAMETERS)
#define SPL_CHECK_CTOR(intern, classname) \
if (intern->dit_type == DIT_Unknown) { \
- zend_throw_exception_ex(spl_ce_BadMethodCallException, 0 TSRMLS_CC, "Classes derived from %v must call %v::__construct()", \
+ zend_throw_exception_ex(spl_ce_BadMethodCallException, 0 TSRMLS_CC, "Classes derived from %v must call %s::__construct()", \
(spl_ce_##classname)->name, (spl_ce_##classname)->name); \
return; \
}
@@ -836,7 +836,7 @@ static spl_dual_it_object* spl_dual_it_construct(INTERNAL_FUNCTION_PARAMETERS, z
intern = (spl_dual_it_object*)zend_object_store_get_object(getThis() TSRMLS_CC);
if (intern->dit_type != DIT_Unknown) {
- zend_throw_exception_ex(spl_ce_BadMethodCallException, 0 TSRMLS_CC, "%v::getIterator() must be called exactly once per instance", ce_base->name);
+ zend_throw_exception_ex(spl_ce_BadMethodCallException, 0 TSRMLS_CC, "%s::getIterator() must be called exactly once per instance", ce_base->name);
return NULL;
}