diff options
author | Marcus Boerger <helly@php.net> | 2004-03-08 00:19:43 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2004-03-08 00:19:43 +0000 |
commit | 5208baee49061e19a98485a2bd2e5d867e700602 (patch) | |
tree | 169987469de64d64324760d98dad4e5fefe60fcd /ext/reflection/php_reflection.c | |
parent | 4ee3282ec638c40312c443652394e30ef29113f1 (diff) | |
download | php-git-5208baee49061e19a98485a2bd2e5d867e700602.tar.gz |
Add another missing conversion
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r-- | ext/reflection/php_reflection.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index f157838273..89bd0a9282 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -1317,6 +1317,7 @@ ZEND_METHOD(reflection_parameter, __construct) if (Z_TYPE_PP(classref) == IS_OBJECT) { ce = Z_OBJCE_PP(classref); } else { + convert_to_string_ex(classref); if (zend_lookup_class(Z_STRVAL_PP(classref), Z_STRLEN_PP(classref), &pce TSRMLS_CC) == FAILURE) { zend_throw_exception_ex(reflection_exception_ptr, 0 TSRMLS_CC, "Class %s does not exist", Z_STRVAL_PP(classref)); |