diff options
author | Antony Dovgal <tony2001@php.net> | 2006-01-30 21:14:54 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-01-30 21:14:54 +0000 |
commit | b22ab5b5d37f2ebf131d1831ad28a71b8e44ceca (patch) | |
tree | e4538f61abd62df5c03fd42695fa2952a763d608 /ext/reflection/php_reflection.c | |
parent | f80f58168c03ea76e5a0d6ce29dcf0c8542efade (diff) | |
download | php-git-b22ab5b5d37f2ebf131d1831ad28a71b8e44ceca.tar.gz |
fix printf-style formats
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r-- | ext/reflection/php_reflection.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index be834390a6..be98c1fed8 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -3257,7 +3257,7 @@ ZEND_METHOD(reflection_class, newInstanceArgs) zend_fcall_info_cache fcc; if (!(ce->constructor->common.fn_flags & ZEND_ACC_PUBLIC)) { - zend_throw_exception_ex(reflection_exception_ptr, 0 TSRMLS_CC, "Access to non-public constructor of class %c", ce->name); + zend_throw_exception_ex(reflection_exception_ptr, 0 TSRMLS_CC, "Access to non-public constructor of class %s", ce->name); return; } @@ -3285,7 +3285,7 @@ ZEND_METHOD(reflection_class, newInstanceArgs) if (zend_call_function(&fci, &fcc TSRMLS_CC) == FAILURE) { efree(params); zval_ptr_dtor(&retval_ptr); - zend_error(E_WARNING, "Invocation of %c's constructor failed", ce->name); + zend_error(E_WARNING, "Invocation of %s's constructor failed", ce->name); RETURN_NULL(); } if (retval_ptr) { @@ -3295,7 +3295,7 @@ ZEND_METHOD(reflection_class, newInstanceArgs) } else if (!ZEND_NUM_ARGS()) { object_init_ex(return_value, ce); } else { - zend_throw_exception_ex(reflection_exception_ptr, 0 TSRMLS_CC, "Class %c does not have a constructor, so you cannot pass any constructor arguments", ce->name); + zend_throw_exception_ex(reflection_exception_ptr, 0 TSRMLS_CC, "Class %s does not have a constructor, so you cannot pass any constructor arguments", ce->name); } } /* }}} */ |