mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix ce comparison
This commit is contained in:
parent
e00c2f335c
commit
a22f181736
1 changed files with 1 additions and 1 deletions
|
@ -3975,7 +3975,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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue