summaryrefslogtreecommitdiff
path: root/Zend/zend_constants.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-08-14 15:24:20 +0000
committerZeev Suraski <zeev@php.net>2001-08-14 15:24:20 +0000
commitf72d907105f648de3d0d3384b0aa0aa4e87da622 (patch)
tree3cca966a7c20961b5f1e5418a622558720285235 /Zend/zend_constants.h
parentac0bee7ec96aa7a5a2294681f442e189baa7548d (diff)
downloadphp-git-f72d907105f648de3d0d3384b0aa0aa4e87da622.tar.gz
MFZE1
Diffstat (limited to 'Zend/zend_constants.h')
-rw-r--r--Zend/zend_constants.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/Zend/zend_constants.h b/Zend/zend_constants.h
index d8491460c4..85df4c8656 100644
--- a/Zend/zend_constants.h
+++ b/Zend/zend_constants.h
@@ -23,8 +23,12 @@
#include "zend_globals.h"
-#define CONST_CS 0x1 /* Case Sensitive */
-#define CONST_PERSISTENT 0x2
+#define CONST_CS (1<<0) /* Case Sensitive */
+#define CONST_PERSISTENT (1<<1) /* Persistent */
+#define CONST_EFREE_PERSISTENT (1<<2) /* In conjunction with CONST_PERSISTENT,
+ * means that the constant should be freed
+ * using zval_dtor() on shutdown.
+ */
typedef struct _zend_constant {
zval value;