com php-src: PHP 5.4/5.5 compability in phpdbg_watch.c: sapi/phpdbg/phpdbg_watch.c
| From: | Bob Weinand | Date: | Tue, 03 Jun 2014 21:24:45 +0000 |
| Subject: | com php-src: PHP 5.4/5.5 compability in phpdbg_watch.c: sapi/phpdbg/phpdbg_watch.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-78679@lists.php.net to get a copy of this message | ||
Commit: 241211975e19dbf5b979d208807c7d178aca79fc
Author: Bob Weinand <bobwei9@hotmail.com> Sun, 18 May 2014 11:38:55 +0200
Parents: 082f79de55b32f3a33f77afab8b6dff3ec84abbf
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=241211975e19dbf5b979d208807c7d178aca79fc
Log:
PHP 5.4/5.5 compability in phpdbg_watch.c
Changed paths:
M sapi/phpdbg/phpdbg_watch.c
Diff:
diff --git a/sapi/phpdbg/phpdbg_watch.c b/sapi/phpdbg/phpdbg_watch.c
index 2efbb12..e886224 100644
--- a/sapi/phpdbg/phpdbg_watch.c
+++ b/sapi/phpdbg/phpdbg_watch.c
@@ -580,7 +580,7 @@ void phpdbg_setup_watchpoints(TSRMLS_D) {
zend_llist_init(&PHPDBG_G(watchlist_mem), sizeof(void *), phpdbg_watch_mem_dtor, 1);
phpdbg_btree_init(&PHPDBG_G(watchpoint_tree), sizeof(void *) * 8);
phpdbg_btree_init(&PHPDBG_G(watch_HashTables), sizeof(void *) * 8);
- _zend_hash_init(&PHPDBG_G(watchpoints), 8, phpdbg_watch_dtor, 0 ZEND_FILE_LINE_CC);
+ zend_hash_init(&PHPDBG_G(watchpoints), 8, NULL, phpdbg_watch_dtor, 0 ZEND_FILE_LINE_CC);
}
static void phpdbg_print_changed_zval(phpdbg_watch_memdump *dump TSRMLS_DC) {