File tree Expand file tree Collapse file tree 13 files changed +17
-0
lines changed Expand file tree Collapse file tree 13 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -1200,6 +1200,7 @@ PHP_MINIT_FUNCTION(curl)
1200
1200
curl_object_handlers .get_constructor = curl_get_constructor ;
1201
1201
curl_object_handlers .clone_obj = curl_clone_obj ;
1202
1202
curl_object_handlers .cast_object = curl_cast_object ;
1203
+ curl_object_handlers .compare = zend_objects_not_comparable ;
1203
1204
1204
1205
curl_multi_register_class (class_CurlMultiHandle_methods );
1205
1206
curl_share_register_class (class_CurlShareHandle_methods );
Original file line number Diff line number Diff line change @@ -603,4 +603,5 @@ void curl_multi_register_class(const zend_function_entry *method_entries) {
603
603
curl_multi_handlers .get_constructor = curl_multi_get_constructor ;
604
604
curl_multi_handlers .clone_obj = NULL ;
605
605
curl_multi_handlers .cast_object = curl_cast_object ;
606
+ curl_multi_handlers .compare = zend_objects_not_comparable ;
606
607
}
Original file line number Diff line number Diff line change @@ -176,4 +176,5 @@ void curl_share_register_class(const zend_function_entry *method_entries) {
176
176
curl_share_handlers .free_obj = curl_share_free_obj ;
177
177
curl_share_handlers .get_constructor = curl_share_get_constructor ;
178
178
curl_share_handlers .clone_obj = NULL ;
179
+ curl_share_handlers .compare = zend_objects_not_comparable ;
179
180
}
Original file line number Diff line number Diff line change @@ -199,6 +199,7 @@ PHP_MINIT_FUNCTION(enchant)
199
199
enchant_broker_handlers .offset = XtOffsetOf (enchant_broker , std );
200
200
enchant_broker_handlers .free_obj = php_enchant_broker_free ;
201
201
enchant_broker_handlers .clone_obj = NULL ;
202
+ enchant_broker_handlers .compare = zend_objects_not_comparable ;
202
203
203
204
INIT_CLASS_ENTRY (dce , "EnchantDictionary" , class_EnchantDictionary_methods );
204
205
enchant_dict_ce = zend_register_internal_class (& dce );
@@ -211,6 +212,7 @@ PHP_MINIT_FUNCTION(enchant)
211
212
enchant_dict_handlers .offset = XtOffsetOf (enchant_dict , std );
212
213
enchant_dict_handlers .free_obj = php_enchant_dict_free ;
213
214
enchant_dict_handlers .clone_obj = NULL ;
215
+ enchant_dict_handlers .compare = zend_objects_not_comparable ;
214
216
215
217
REGISTER_LONG_CONSTANT ("ENCHANT_MYSPELL" , PHP_ENCHANT_MYSPELL , CONST_CS | CONST_PERSISTENT | CONST_DEPRECATED );
216
218
REGISTER_LONG_CONSTANT ("ENCHANT_ISPELL" , PHP_ENCHANT_ISPELL , CONST_CS | CONST_PERSISTENT | CONST_DEPRECATED );
Original file line number Diff line number Diff line change @@ -232,6 +232,7 @@ static void php_gd_object_minit_helper()
232
232
php_gd_image_object_handlers .clone_obj = NULL ;
233
233
php_gd_image_object_handlers .free_obj = php_gd_image_object_free ;
234
234
php_gd_image_object_handlers .get_constructor = php_gd_image_object_get_constructor ;
235
+ php_gd_image_object_handlers .compare = zend_objects_not_comparable ;
235
236
php_gd_image_object_handlers .offset = XtOffsetOf (php_gd_image_object , std );
236
237
}
237
238
Original file line number Diff line number Diff line change @@ -1116,6 +1116,7 @@ PHP_MINIT_FUNCTION(openssl)
1116
1116
php_openssl_certificate_object_handlers .free_obj = php_openssl_certificate_free_obj ;
1117
1117
php_openssl_certificate_object_handlers .get_constructor = php_openssl_certificate_get_constructor ;
1118
1118
php_openssl_certificate_object_handlers .clone_obj = NULL ;
1119
+ php_openssl_certificate_object_handlers .compare = zend_objects_not_comparable ;
1119
1120
1120
1121
zend_class_entry csr_ce ;
1121
1122
INIT_CLASS_ENTRY (csr_ce , "OpenSSLCertificateSigningRequest" , class_OpenSSLCertificateSigningRequest_methods );
@@ -1130,6 +1131,7 @@ PHP_MINIT_FUNCTION(openssl)
1130
1131
php_openssl_request_object_handlers .free_obj = php_openssl_request_free_obj ;
1131
1132
php_openssl_request_object_handlers .get_constructor = php_openssl_request_get_constructor ;
1132
1133
php_openssl_request_object_handlers .clone_obj = NULL ;
1134
+ php_openssl_request_object_handlers .compare = zend_objects_not_comparable ;
1133
1135
1134
1136
zend_class_entry key_ce ;
1135
1137
INIT_CLASS_ENTRY (key_ce , "OpenSSLAsymmetricKey" , class_OpenSSLAsymmetricKey_methods );
@@ -1144,6 +1146,7 @@ PHP_MINIT_FUNCTION(openssl)
1144
1146
php_openssl_pkey_object_handlers .free_obj = php_openssl_pkey_free_obj ;
1145
1147
php_openssl_pkey_object_handlers .get_constructor = php_openssl_pkey_get_constructor ;
1146
1148
php_openssl_pkey_object_handlers .clone_obj = NULL ;
1149
+ php_openssl_pkey_object_handlers .compare = zend_objects_not_comparable ;
1147
1150
1148
1151
#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined (LIBRESSL_VERSION_NUMBER )
1149
1152
OPENSSL_config (NULL );
Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ PHP_MINIT_FUNCTION(shmop)
121
121
shmop_object_handlers .free_obj = shmop_free_obj ;
122
122
shmop_object_handlers .get_constructor = shmop_get_constructor ;
123
123
shmop_object_handlers .clone_obj = NULL ;
124
+ shmop_object_handlers .compare = zend_objects_not_comparable ;
124
125
125
126
return SUCCESS ;
126
127
}
Original file line number Diff line number Diff line change @@ -461,6 +461,7 @@ static PHP_MINIT_FUNCTION(sockets)
461
461
address_info_object_handlers .free_obj = address_info_free_obj ;
462
462
address_info_object_handlers .get_constructor = address_info_get_constructor ;
463
463
address_info_object_handlers .clone_obj = NULL ;
464
+ address_info_object_handlers .compare = zend_objects_not_comparable ;
464
465
465
466
REGISTER_LONG_CONSTANT ("AF_UNIX" , AF_UNIX , CONST_CS | CONST_PERSISTENT );
466
467
REGISTER_LONG_CONSTANT ("AF_INET" , AF_INET , CONST_CS | CONST_PERSISTENT );
Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ PHP_MINIT_FUNCTION(sysvmsg)
121
121
sysvmsg_queue_object_handlers .free_obj = sysvmsg_queue_free_obj ;
122
122
sysvmsg_queue_object_handlers .get_constructor = sysvmsg_queue_get_constructor ;
123
123
sysvmsg_queue_object_handlers .clone_obj = NULL ;
124
+ sysvmsg_queue_object_handlers .compare = zend_objects_not_comparable ;
124
125
125
126
REGISTER_LONG_CONSTANT ("MSG_IPC_NOWAIT" , PHP_MSG_IPC_NOWAIT , CONST_PERSISTENT |CONST_CS );
126
127
REGISTER_LONG_CONSTANT ("MSG_EAGAIN" , EAGAIN , CONST_PERSISTENT |CONST_CS );
Original file line number Diff line number Diff line change @@ -164,6 +164,7 @@ PHP_MINIT_FUNCTION(sysvsem)
164
164
sysvsem_object_handlers .free_obj = sysvsem_free_obj ;
165
165
sysvsem_object_handlers .get_constructor = sysvsem_get_constructor ;
166
166
sysvsem_object_handlers .clone_obj = NULL ;
167
+ sysvsem_object_handlers .compare = zend_objects_not_comparable ;
167
168
168
169
return SUCCESS ;
169
170
}
Original file line number Diff line number Diff line change @@ -112,6 +112,7 @@ PHP_MINIT_FUNCTION(sysvshm)
112
112
sysvshm_object_handlers .free_obj = sysvshm_free_obj ;
113
113
sysvshm_object_handlers .get_constructor = sysvshm_get_constructor ;
114
114
sysvshm_object_handlers .clone_obj = NULL ;
115
+ sysvshm_object_handlers .compare = zend_objects_not_comparable ;
115
116
116
117
if (cfg_get_long ("sysvshm.init_mem" , & php_sysvshm .init_mem ) == FAILURE ) {
117
118
php_sysvshm .init_mem = 10000 ;
Original file line number Diff line number Diff line change @@ -267,6 +267,7 @@ PHP_MINIT_FUNCTION(xml)
267
267
xml_parser_object_handlers .get_gc = xml_parser_get_gc ;
268
268
xml_parser_object_handlers .get_constructor = xml_parser_get_constructor ;
269
269
xml_parser_object_handlers .clone_obj = NULL ;
270
+ xml_parser_object_handlers .compare = zend_objects_not_comparable ;
270
271
271
272
REGISTER_LONG_CONSTANT ("XML_ERROR_NONE" , XML_ERROR_NONE , CONST_CS |CONST_PERSISTENT );
272
273
REGISTER_LONG_CONSTANT ("XML_ERROR_NO_MEMORY" , XML_ERROR_NO_MEMORY , CONST_CS |CONST_PERSISTENT );
Original file line number Diff line number Diff line change @@ -1350,6 +1350,7 @@ static PHP_MINIT_FUNCTION(zlib)
1350
1350
inflate_context_object_handlers .free_obj = inflate_context_free_obj ;
1351
1351
inflate_context_object_handlers .get_constructor = inflate_context_get_constructor ;
1352
1352
inflate_context_object_handlers .clone_obj = NULL ;
1353
+ inflate_context_object_handlers .compare = zend_objects_not_comparable ;
1353
1354
1354
1355
zend_class_entry deflate_ce ;
1355
1356
INIT_CLASS_ENTRY (deflate_ce , "DeflateContext" , class_DeflateContext_methods );
@@ -1364,6 +1365,7 @@ static PHP_MINIT_FUNCTION(zlib)
1364
1365
deflate_context_object_handlers .free_obj = deflate_context_free_obj ;
1365
1366
deflate_context_object_handlers .get_constructor = deflate_context_get_constructor ;
1366
1367
deflate_context_object_handlers .clone_obj = NULL ;
1368
+ deflate_context_object_handlers .compare = zend_objects_not_comparable ;
1367
1369
1368
1370
REGISTER_LONG_CONSTANT ("FORCE_GZIP" , PHP_ZLIB_ENCODING_GZIP , CONST_CS |CONST_PERSISTENT );
1369
1371
REGISTER_LONG_CONSTANT ("FORCE_DEFLATE" , PHP_ZLIB_ENCODING_DEFLATE , CONST_CS |CONST_PERSISTENT );
You can’t perform that action at this time.
0 commit comments