Skip to content

Commit 880a4fc

Browse files
committed
Fix
1 parent 5324acf commit 880a4fc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+44
-44
lines changed

src/BSON/Binary.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ static int php_phongo_binary_compare_objects(zval* o1, zval* o2)
272272

273273
static HashTable* php_phongo_binary_get_debug_info(zend_object* object, int* is_temp)
274274
{
275-
*is_temp = 1;
275+
*is_temp = 0;
276276
return php_phongo_binary_get_properties_hash(object, true);
277277
}
278278

src/BSON/DBPointer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ static int php_phongo_dbpointer_compare_objects(zval* o1, zval* o2)
232232

233233
static HashTable* php_phongo_dbpointer_get_debug_info(zend_object* object, int* is_temp)
234234
{
235-
*is_temp = 1;
235+
*is_temp = 0;
236236
return php_phongo_dbpointer_get_properties_hash(object, true);
237237
}
238238

src/BSON/Decimal128.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ static zend_object* php_phongo_decimal128_clone_object(zend_object* object)
207207

208208
static HashTable* php_phongo_decimal128_get_debug_info(zend_object* object, int* is_temp)
209209
{
210-
*is_temp = 1;
210+
*is_temp = 0;
211211
return php_phongo_decimal128_get_properties_hash(object, true);
212212
}
213213

src/BSON/Document.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ static HashTable* php_phongo_document_get_debug_info(zend_object* object, int* i
498498
php_phongo_document_t* intern;
499499
HashTable* props;
500500

501-
*is_temp = 1;
501+
*is_temp = 0;
502502
intern = Z_OBJ_DOCUMENT(object);
503503

504504
/* This get_debug_info handler reports an additional property. This does not

src/BSON/Int64.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ static zend_result php_phongo_int64_do_operation(zend_uchar opcode, zval* result
545545

546546
static HashTable* php_phongo_int64_get_debug_info(zend_object* object, int* is_temp)
547547
{
548-
*is_temp = 1;
548+
*is_temp = 0;
549549
return php_phongo_int64_get_properties_hash(object, true);
550550
}
551551

src/BSON/Iterator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ static zend_object* php_phongo_iterator_clone_object(zend_object* object)
288288

289289
static HashTable* php_phongo_iterator_get_debug_info(zend_object* object, int* is_temp)
290290
{
291-
*is_temp = 1;
291+
*is_temp = 0;
292292
return php_phongo_iterator_get_properties_hash(object, true);
293293
}
294294

src/BSON/Javascript.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ static int php_phongo_javascript_compare_objects(zval* o1, zval* o2)
309309

310310
static HashTable* php_phongo_javascript_get_debug_info(zend_object* object, int* is_temp)
311311
{
312-
*is_temp = 1;
312+
*is_temp = 0;
313313
return php_phongo_javascript_get_properties_hash(object, true);
314314
}
315315

src/BSON/ObjectId.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ static int php_phongo_objectid_compare_objects(zval* o1, zval* o2)
254254

255255
static HashTable* php_phongo_objectid_get_debug_info(zend_object* object, int* is_temp)
256256
{
257-
*is_temp = 1;
257+
*is_temp = 0;
258258
return php_phongo_objectid_get_properties_hash(object, true);
259259
}
260260

src/BSON/PackedArray.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ static HashTable* php_phongo_packedarray_get_debug_info(zend_object* object, int
482482
php_phongo_packedarray_t* intern;
483483
HashTable* props;
484484

485-
*is_temp = 1;
485+
*is_temp = 0;
486486
intern = Z_OBJ_PACKEDARRAY(object);
487487

488488
/* This get_debug_info handler reports an additional property. This does not

src/BSON/Regex.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ static int php_phongo_regex_compare_objects(zval* o1, zval* o2)
285285

286286
static HashTable* php_phongo_regex_get_debug_info(zend_object* object, int* is_temp)
287287
{
288-
*is_temp = 1;
288+
*is_temp = 0;
289289
return php_phongo_regex_get_properties_hash(object, true);
290290
}
291291

0 commit comments

Comments
 (0)