mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
The sqlite classes need to be final
This commit is contained in:
parent
43a948379a
commit
08d1c991cf
@ -730,6 +730,7 @@ static int php_sqlite_authorizer(void *autharg, int access_type, const char *arg
|
||||
sqlite_ce_ ## name = zend_register_internal_class_ex(&ce, parent, NULL TSRMLS_CC); \
|
||||
memcpy(&sqlite_object_handlers_ ## name, zend_get_std_object_handlers(), sizeof(zend_object_handlers)); \
|
||||
sqlite_object_handlers_ ## name.clone_obj = NULL; \
|
||||
sqlite_ce_ ## name->ce_flags |= ZEND_ACC_FINAL_CLASS; \
|
||||
}
|
||||
|
||||
zend_class_entry *sqlite_ce_db, *sqlite_ce_exception;
|
||||
|
Loading…
Reference in New Issue
Block a user