summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/mhash/mhash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mhash/mhash.c b/ext/mhash/mhash.c
index 9eefe7053b..42dfe5e8b7 100644
--- a/ext/mhash/mhash.c
+++ b/ext/mhash/mhash.c
@@ -55,7 +55,7 @@ static PHP_MINIT_FUNCTION(mhash)
name = mhash_get_hash_name(i);
if(name) {
snprintf(buf, 127, "MHASH_%s", name);
- REGISTER_LONG_CONSTANT(buf, i, 0);
+ REGISTER_LONG_CONSTANT(buf, i, CONST_PERSISTENT);
free(name);
}
}