File tree 13 files changed +17
-0
lines changed
13 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -1189,6 +1189,7 @@ PHP_MINIT_FUNCTION(curl)
1189
1189
curl_object_handlers .get_constructor = curl_get_constructor ;
1190
1190
curl_object_handlers .clone_obj = curl_clone_obj ;
1191
1191
curl_object_handlers .cast_object = curl_cast_object ;
1192
+ curl_object_handlers .compare = zend_objects_not_comparable ;
1192
1193
1193
1194
curl_multi_ce = register_class_CurlMultiHandle ();
1194
1195
curl_multi_register_handlers ();
Original file line number Diff line number Diff line change @@ -592,4 +592,5 @@ void curl_multi_register_handlers(void) {
592
592
curl_multi_handlers .get_constructor = curl_multi_get_constructor ;
593
593
curl_multi_handlers .clone_obj = NULL ;
594
594
curl_multi_handlers .cast_object = curl_cast_object ;
595
+ curl_multi_handlers .compare = zend_objects_not_comparable ;
595
596
}
Original file line number Diff line number Diff line change @@ -172,4 +172,5 @@ void curl_share_register_handlers(void) {
172
172
curl_share_handlers .free_obj = curl_share_free_obj ;
173
173
curl_share_handlers .get_constructor = curl_share_get_constructor ;
174
174
curl_share_handlers .clone_obj = NULL ;
175
+ curl_share_handlers .compare = zend_objects_not_comparable ;
175
176
}
Original file line number Diff line number Diff line change @@ -195,6 +195,7 @@ PHP_MINIT_FUNCTION(enchant)
195
195
enchant_broker_handlers .offset = XtOffsetOf (enchant_broker , std );
196
196
enchant_broker_handlers .free_obj = php_enchant_broker_free ;
197
197
enchant_broker_handlers .clone_obj = NULL ;
198
+ enchant_broker_handlers .compare = zend_objects_not_comparable ;
198
199
199
200
enchant_dict_ce = register_class_EnchantDictionary ();
200
201
enchant_dict_ce -> create_object = enchant_dict_create_object ;
@@ -205,6 +206,7 @@ PHP_MINIT_FUNCTION(enchant)
205
206
enchant_dict_handlers .offset = XtOffsetOf (enchant_dict , std );
206
207
enchant_dict_handlers .free_obj = php_enchant_dict_free ;
207
208
enchant_dict_handlers .clone_obj = NULL ;
209
+ enchant_dict_handlers .compare = zend_objects_not_comparable ;
208
210
209
211
REGISTER_LONG_CONSTANT ("ENCHANT_MYSPELL" , PHP_ENCHANT_MYSPELL , CONST_CS | CONST_PERSISTENT | CONST_DEPRECATED );
210
212
REGISTER_LONG_CONSTANT ("ENCHANT_ISPELL" , PHP_ENCHANT_ISPELL , CONST_CS | CONST_PERSISTENT | CONST_DEPRECATED );
Original file line number Diff line number Diff line change @@ -227,6 +227,7 @@ static void php_gd_object_minit_helper()
227
227
php_gd_image_object_handlers .clone_obj = NULL ;
228
228
php_gd_image_object_handlers .free_obj = php_gd_image_object_free ;
229
229
php_gd_image_object_handlers .get_constructor = php_gd_image_object_get_constructor ;
230
+ php_gd_image_object_handlers .compare = zend_objects_not_comparable ;
230
231
php_gd_image_object_handlers .offset = XtOffsetOf (php_gd_image_object , std );
231
232
}
232
233
Original file line number Diff line number Diff line change @@ -1113,6 +1113,7 @@ PHP_MINIT_FUNCTION(openssl)
1113
1113
php_openssl_certificate_object_handlers .free_obj = php_openssl_certificate_free_obj ;
1114
1114
php_openssl_certificate_object_handlers .get_constructor = php_openssl_certificate_get_constructor ;
1115
1115
php_openssl_certificate_object_handlers .clone_obj = NULL ;
1116
+ php_openssl_certificate_object_handlers .compare = zend_objects_not_comparable ;
1116
1117
1117
1118
php_openssl_request_ce = register_class_OpenSSLCertificateSigningRequest ();
1118
1119
php_openssl_request_ce -> create_object = php_openssl_request_create_object ;
@@ -1124,6 +1125,7 @@ PHP_MINIT_FUNCTION(openssl)
1124
1125
php_openssl_request_object_handlers .free_obj = php_openssl_request_free_obj ;
1125
1126
php_openssl_request_object_handlers .get_constructor = php_openssl_request_get_constructor ;
1126
1127
php_openssl_request_object_handlers .clone_obj = NULL ;
1128
+ php_openssl_request_object_handlers .compare = zend_objects_not_comparable ;
1127
1129
1128
1130
php_openssl_pkey_ce = register_class_OpenSSLAsymmetricKey ();
1129
1131
php_openssl_pkey_ce -> create_object = php_openssl_pkey_create_object ;
@@ -1135,6 +1137,7 @@ PHP_MINIT_FUNCTION(openssl)
1135
1137
php_openssl_pkey_object_handlers .free_obj = php_openssl_pkey_free_obj ;
1136
1138
php_openssl_pkey_object_handlers .get_constructor = php_openssl_pkey_get_constructor ;
1137
1139
php_openssl_pkey_object_handlers .clone_obj = NULL ;
1140
+ php_openssl_pkey_object_handlers .compare = zend_objects_not_comparable ;
1138
1141
1139
1142
#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined (LIBRESSL_VERSION_NUMBER )
1140
1143
OPENSSL_config (NULL );
Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ PHP_MINIT_FUNCTION(shmop)
118
118
shmop_object_handlers .free_obj = shmop_free_obj ;
119
119
shmop_object_handlers .get_constructor = shmop_get_constructor ;
120
120
shmop_object_handlers .clone_obj = NULL ;
121
+ shmop_object_handlers .compare = zend_objects_not_comparable ;
121
122
122
123
return SUCCESS ;
123
124
}
Original file line number Diff line number Diff line change @@ -455,6 +455,7 @@ static PHP_MINIT_FUNCTION(sockets)
455
455
address_info_object_handlers .free_obj = address_info_free_obj ;
456
456
address_info_object_handlers .get_constructor = address_info_get_constructor ;
457
457
address_info_object_handlers .clone_obj = NULL ;
458
+ address_info_object_handlers .compare = zend_objects_not_comparable ;
458
459
459
460
REGISTER_LONG_CONSTANT ("AF_UNIX" , AF_UNIX , CONST_CS | CONST_PERSISTENT );
460
461
REGISTER_LONG_CONSTANT ("AF_INET" , AF_INET , CONST_CS | CONST_PERSISTENT );
Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ PHP_MINIT_FUNCTION(sysvmsg)
118
118
sysvmsg_queue_object_handlers .free_obj = sysvmsg_queue_free_obj ;
119
119
sysvmsg_queue_object_handlers .get_constructor = sysvmsg_queue_get_constructor ;
120
120
sysvmsg_queue_object_handlers .clone_obj = NULL ;
121
+ sysvmsg_queue_object_handlers .compare = zend_objects_not_comparable ;
121
122
122
123
REGISTER_LONG_CONSTANT ("MSG_IPC_NOWAIT" , PHP_MSG_IPC_NOWAIT , CONST_PERSISTENT |CONST_CS );
123
124
REGISTER_LONG_CONSTANT ("MSG_EAGAIN" , EAGAIN , CONST_PERSISTENT |CONST_CS );
Original file line number Diff line number Diff line change @@ -161,6 +161,7 @@ PHP_MINIT_FUNCTION(sysvsem)
161
161
sysvsem_object_handlers .free_obj = sysvsem_free_obj ;
162
162
sysvsem_object_handlers .get_constructor = sysvsem_get_constructor ;
163
163
sysvsem_object_handlers .clone_obj = NULL ;
164
+ sysvsem_object_handlers .compare = zend_objects_not_comparable ;
164
165
165
166
return SUCCESS ;
166
167
}
Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ PHP_MINIT_FUNCTION(sysvshm)
109
109
sysvshm_object_handlers .free_obj = sysvshm_free_obj ;
110
110
sysvshm_object_handlers .get_constructor = sysvshm_get_constructor ;
111
111
sysvshm_object_handlers .clone_obj = NULL ;
112
+ sysvshm_object_handlers .compare = zend_objects_not_comparable ;
112
113
113
114
if (cfg_get_long ("sysvshm.init_mem" , & php_sysvshm .init_mem ) == FAILURE ) {
114
115
php_sysvshm .init_mem = 10000 ;
Original file line number Diff line number Diff line change @@ -264,6 +264,7 @@ PHP_MINIT_FUNCTION(xml)
264
264
xml_parser_object_handlers .get_gc = xml_parser_get_gc ;
265
265
xml_parser_object_handlers .get_constructor = xml_parser_get_constructor ;
266
266
xml_parser_object_handlers .clone_obj = NULL ;
267
+ xml_parser_object_handlers .compare = zend_objects_not_comparable ;
267
268
268
269
REGISTER_LONG_CONSTANT ("XML_ERROR_NONE" , XML_ERROR_NONE , CONST_CS |CONST_PERSISTENT );
269
270
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