Skip to content

Commit 17039ed

Browse files
committed
PHP 5.4/5.5 compability in phpdbg_watch.c
1 parent c8d8e85 commit 17039ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phpdbg_watch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ void phpdbg_setup_watchpoints(TSRMLS_D) {
580580
zend_llist_init(&PHPDBG_G(watchlist_mem), sizeof(void *), phpdbg_watch_mem_dtor, 1);
581581
phpdbg_btree_init(&PHPDBG_G(watchpoint_tree), sizeof(void *) * 8);
582582
phpdbg_btree_init(&PHPDBG_G(watch_HashTables), sizeof(void *) * 8);
583-
_zend_hash_init(&PHPDBG_G(watchpoints), 8, phpdbg_watch_dtor, 0 ZEND_FILE_LINE_CC);
583+
zend_hash_init(&PHPDBG_G(watchpoints), 8, NULL, phpdbg_watch_dtor, 0 ZEND_FILE_LINE_CC);
584584
}
585585

586586
static void phpdbg_print_changed_zval(phpdbg_watch_memdump *dump TSRMLS_DC) {

0 commit comments

Comments
 (0)