@@ -470,7 +470,7 @@ void swoole_server_init(int module_number)
470
470
{
471
471
SW_INIT_CLASS_ENTRY(swoole_server, "Swoole\\Server", "swoole_server", NULL, swoole_server_methods);
472
472
SW_SET_CLASS_SERIALIZABLE(swoole_server, zend_class_serialize_deny, zend_class_unserialize_deny);
473
- SW_SET_CLASS_CLONEABLE (swoole_server, zend_class_clone_deny );
473
+ SW_SET_CLASS_CLONEABLE(swoole_server, sw_zend_class_clone_deny );
474
474
SW_SET_CLASS_UNSET_PROPERTY_HANDLER(swoole_server, sw_zend_class_unset_property_deny);
475
475
SW_SET_CLASS_CREATE_WITH_ITS_OWN_HANDLERS(swoole_server);
476
476
@@ -483,13 +483,13 @@ void swoole_server_init(int module_number)
483
483
SW_INIT_CLASS_ENTRY(swoole_server_task, "Swoole\\Server\\Task", "swoole_server_task", NULL, swoole_server_task_methods);
484
484
swoole_server_task_ce->ce_flags |= ZEND_ACC_FINAL;
485
485
SW_SET_CLASS_SERIALIZABLE(swoole_server_task, zend_class_serialize_deny, zend_class_unserialize_deny);
486
- SW_SET_CLASS_CLONEABLE (swoole_server_task, zend_class_clone_deny );
486
+ SW_SET_CLASS_CLONEABLE(swoole_server_task, sw_zend_class_clone_deny );
487
487
SW_SET_CLASS_UNSET_PROPERTY_HANDLER(swoole_server_task, sw_zend_class_unset_property_deny);
488
488
SW_SET_CLASS_CREATE_AND_FREE(swoole_server_task, swoole_server_task_create_object, swoole_server_task_free_object);
489
489
490
490
SW_INIT_CLASS_ENTRY(swoole_connection_iterator, "Swoole\\Connection\\Iterator", "swoole_connection_iterator", NULL, swoole_connection_iterator_methods);
491
491
SW_SET_CLASS_SERIALIZABLE(swoole_connection_iterator, zend_class_serialize_deny, zend_class_unserialize_deny);
492
- SW_SET_CLASS_CLONEABLE (swoole_connection_iterator, zend_class_clone_deny );
492
+ SW_SET_CLASS_CLONEABLE(swoole_connection_iterator, sw_zend_class_clone_deny );
493
493
SW_SET_CLASS_UNSET_PROPERTY_HANDLER(swoole_connection_iterator, sw_zend_class_unset_property_deny);
494
494
SW_SET_CLASS_CREATE_WITH_ITS_OWN_HANDLERS(swoole_connection_iterator);
495
495
zend_class_implements(swoole_connection_iterator_ce, 2, zend_ce_iterator, zend_ce_arrayaccess);
0 commit comments