cvs: php-src(PHP_5_2) /ext/reflection php_reflection.c /ext/reflection/tests reflectionParameter_invalidMethodInConstructor.phpt

From: Date: Mon, 11 Aug 2008 22:08:59 +0000
Subject: cvs: php-src(PHP_5_2) /ext/reflection php_reflection.c /ext/reflection/tests reflectionParameter_invalidMethodInConstructor.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-52239@lists.php.net to get a copy of this message
cseiler Mon Aug 11 22:08:59 2008 UTC Added files: (Branch: PHP_5_2) /php-src/ext/reflection/tests reflectionParameter_invalidMethodInConstructor.phpt Modified files: /php-src/ext/reflection php_reflection.c Log: - Fixed segmentation fault (test added) http://cvs.php.net/viewvc.cgi/php-src/ext/reflection/php_reflection.c?r1=1.164.2.33.2.52&r2=1.164.2.33.2.53&diff_format=u Index: php-src/ext/reflection/php_reflection.c diff -u php-src/ext/reflection/php_reflection.c:1.164.2.33.2.52 php-src/ext/reflection/php_reflection.c:1.164.2.33.2.53 --- php-src/ext/reflection/php_reflection.c:1.164.2.33.2.52 Mon Aug 11 00:50:02 2008 +++ php-src/ext/reflection/php_reflection.c Mon Aug 11 22:08:58 2008 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_reflection.c,v 1.164.2.33.2.52 2008/08/11 00:50:02 felipe Exp $ */ +/* $Id: php_reflection.c,v 1.164.2.33.2.53 2008/08/11 22:08:58 cseiler Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -1871,7 +1871,7 @@ if (zend_hash_find(&ce->function_table, lcname, lcname_len + 1, (void **) &fptr) == FAILURE) { efree(lcname); zend_throw_exception_ex(reflection_exception_ptr, 0 TSRMLS_CC, - "Method %s::%s() does not exist", Z_STRVAL_PP(classref), Z_TYPE_PP(method), Z_STRVAL_PP(method)); + "Method %s::%s() does not exist", ce->name, Z_STRVAL_PP(method)); return; } efree(lcname); @@ -4908,7 +4908,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.33.2.52 2008/08/11 00:50:02 felipe Exp $"); + php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v 1.164.2.33.2.53 2008/08/11 22:08:58 cseiler Exp $"); php_info_print_table_end(); } /* }}} */ http://cvs.php.net/viewvc.cgi/php-src/ext/reflection/tests/reflectionParameter_invalidMethodInConstructor.phpt?view=markup&rev=1.1 Index: php-src/ext/reflection/tests/reflectionParameter_invalidMethodInConstructor.phpt +++ php-src/ext/reflection/tests/reflectionParameter_invalidMethodInConstructor.phpt

« previous php.cvs (#52239) next »