Skip to content

Commit daa9a7d

Browse files
committed
Backwards compat for PHPER_HASH_KEY_IS_STRING and PHPER_HASH_KEY_IS_LONG
1 parent 2a0085b commit daa9a7d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

phper-sys/php_wrapper.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ phper_init_class_entry_handler(zend_class_entry *class_ce, void *argument);
5454
#define ZEND_CALL_MAY_HAVE_UNDEF (1 << 26)
5555
#endif
5656

57+
const int PHPER_HASH_KEY_IS_STRING = (int) HASH_KEY_IS_STRING;
58+
const int PHPER_HASH_KEY_IS_LONG = (int) HASH_KEY_IS_LONG;
59+
5760
// ==================================================
5861
// zval apis:
5962
// ==================================================

0 commit comments

Comments
 (0)