Skip to content

Commit 767fb73

Browse files
committed
Remove unused get_debug_info handlers
These should have been removed for PHPC-460.
1 parent 850d8ce commit 767fb73

File tree

2 files changed

+0
-42
lines changed

2 files changed

+0
-42
lines changed

src/BSON/Regex.c

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -402,27 +402,6 @@ phongo_create_object_retval php_phongo_regex_create_object(zend_class_entry *cla
402402
#endif
403403
} /* }}} */
404404

405-
HashTable *php_phongo_regex_get_debug_info(zval *object, int *is_temp TSRMLS_DC) /* {{{ */
406-
{
407-
php_phongo_regex_t *intern;
408-
#if PHP_VERSION_ID >= 70000
409-
zval retval;
410-
#else
411-
zval retval = zval_used_for_init;
412-
#endif
413-
414-
415-
*is_temp = 1;
416-
intern = Z_REGEX_OBJ_P(object);
417-
418-
array_init(&retval);
419-
420-
ADD_ASSOC_STRINGL(&retval, "pattern", intern->pattern, intern->pattern_len);
421-
ADD_ASSOC_STRINGL(&retval, "flags", intern->flags, intern->flags_len);
422-
423-
return Z_ARRVAL(retval);
424-
} /* }}} */
425-
426405
HashTable *php_phongo_regex_get_properties(zval *object TSRMLS_DC) /* {{{ */
427406
{
428407
php_phongo_regex_t *intern;

src/BSON/Timestamp.c

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -427,27 +427,6 @@ phongo_create_object_retval php_phongo_timestamp_create_object(zend_class_entry
427427
#endif
428428
} /* }}} */
429429

430-
HashTable *php_phongo_timestamp_get_debug_info(zval *object, int *is_temp TSRMLS_DC) /* {{{ */
431-
{
432-
php_phongo_timestamp_t *intern;
433-
#if PHP_VERSION_ID >= 70000
434-
zval retval;
435-
#else
436-
zval retval = zval_used_for_init;
437-
#endif
438-
439-
440-
*is_temp = 1;
441-
intern = Z_TIMESTAMP_OBJ_P(object);
442-
443-
array_init(&retval);
444-
445-
ADD_ASSOC_LONG_EX(&retval, "increment", intern->increment);
446-
ADD_ASSOC_LONG_EX(&retval, "timestamp", intern->timestamp);
447-
448-
return Z_ARRVAL(retval);
449-
} /* }}} */
450-
451430
HashTable *php_phongo_timestamp_get_properties(zval *object TSRMLS_DC) /* {{{ */
452431
{
453432
php_phongo_timestamp_t *intern;

0 commit comments

Comments
 (0)