cvs: php-src(PHP_5_1) /ext/reflection php_reflection.c
| From: | Antony Dovgal | Date: | Mon, 30 Jan 2006 21:14:54 +0000 |
| Subject: | cvs: php-src(PHP_5_1) /ext/reflection php_reflection.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-36685@lists.php.net to get a copy of this message | ||
tony2001 Mon Jan 30 21:14:54 2006 UTC
Modified files: (Branch: PHP_5_1)
/php-src/ext/reflection php_reflection.c
Log:
fix printf-style formats
http://cvs.php.net/viewcvs.cgi/php-src/ext/reflection/php_reflection.c?r1=1.164.2.18&r2=1.164.2.19&diff_format=u
Index: php-src/ext/reflection/php_reflection.c
diff -u php-src/ext/reflection/php_reflection.c:1.164.2.18
php-src/ext/reflection/php_reflection.c:1.164.2.19
--- php-src/ext/reflection/php_reflection.c:1.164.2.18 Wed Jan 25 22:03:54 2006
+++ php-src/ext/reflection/php_reflection.c Mon Jan 30 21:14:54 2006
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_reflection.c,v 1.164.2.18 2006/01/25 22:03:54 helly Exp $ */
+/* $Id: php_reflection.c,v 1.164.2.19 2006/01/30 21:14:54 tony2001 Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -3257,7 +3257,7 @@
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 @@
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 @@
} 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);
}
}
/* }}} */
@@ -4328,7 +4328,7 @@
php_info_print_table_start();
php_info_print_table_header(2, "Reflection", "enabled");
- php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v 1.164.2.18
2006/01/25 22:03:54 helly Exp $");
+ php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v 1.164.2.19
2006/01/30 21:14:54 tony2001 Exp $");
php_info_print_table_end();
} /* }}} */