diff options
author | Joe Watkins <krakjoe@php.net> | 2017-01-18 05:06:07 +0000 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2017-01-18 05:06:07 +0000 |
commit | 43612e9593c43c904b9403e00f8a254d8d76e338 (patch) | |
tree | 35fa9aa05c29d63a389b3f9dc08337348913eaa3 /ext/reflection/php_reflection.c | |
parent | 4edaa3f1e7b89f648cf8f292c72226bfad59aa8c (diff) | |
parent | a22f1817362118945d082bf7ede160f9e3c0d883 (diff) | |
download | php-git-43612e9593c43c904b9403e00f8a254d8d76e338.tar.gz |
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fix ce comparison
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r-- | ext/reflection/php_reflection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index 102f46dfb2..a06522d025 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -4157,7 +4157,7 @@ ZEND_METHOD(reflection_class, getStartLine) return; } GET_REFLECTION_OBJECT_PTR(ce); - if (ce->type == ZEND_USER_FUNCTION) { + if (ce->type == ZEND_USER_CLASS) { RETURN_LONG(ce->info.user.line_start); } RETURN_FALSE; |