summaryrefslogtreecommitdiff
path: root/ext/dba/php_dba.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dba/php_dba.h')
-rw-r--r--ext/dba/php_dba.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dba/php_dba.h b/ext/dba/php_dba.h
index d8d1c9cbfe..699b80f777 100644
--- a/ext/dba/php_dba.h
+++ b/ext/dba/php_dba.h
@@ -91,7 +91,7 @@ extern zend_module_entry dba_module_entry;
DBA_OPTIMIZE_FUNC(x); \
DBA_SYNC_FUNC(x)
-#define VALLEN(p) (*p)->value.str.val, (*p)->value.str.len
+#define VALLEN(p) Z_STRVAL_PP(p), Z_STRLEN_PP(p)
PHP_FUNCTION(dba_open);
PHP_FUNCTION(dba_popen);