diff options
| author | Marcus Boerger <helly@php.net> | 2004-02-27 18:20:53 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2004-02-27 18:20:53 +0000 |
| commit | 7fdd68af8bfe70df7b6059ffaf9c5ec039c24c31 (patch) | |
| tree | 6e89e4a1396bf66f3f7dfcb5c6c1c7bfcacf2766 /Zend/zend_API.c | |
| parent | df29576af6cfff8ec39f3c681c1ccfcff23459a7 (diff) | |
| download | php-git-7fdd68af8bfe70df7b6059ffaf9c5ec039c24c31.tar.gz | |
Add some comments
Diffstat (limited to 'Zend/zend_API.c')
| -rw-r--r-- | Zend/zend_API.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c index a56c0c67ab..7e0f6f840d 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -1247,8 +1247,11 @@ ZEND_API int zend_register_functions(zend_class_entry *scope, zend_function_entr } if (ptr->flags & ZEND_ACC_ABSTRACT) { if (scope) { + /* This is a class that must be abstract itself. Here we set the check info. */ scope->ce_flags |= ZEND_ACC_ABSTRACT; if (!(scope->ce_flags & ZEND_ACC_INTERFACE)) { + /* Since the class is not an interface it needs to be declared as a abstract class. */ + /* This time we set the flag for the keyword 'abstratc'. */ scope->ce_flags |= ZEND_ACC_ABSTRACT_CLASS; } } |
