summaryrefslogtreecommitdiff
path: root/Zend/zend_constants.h
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-08-22 18:50:12 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-08-22 18:50:12 +0000
commitf94b536bc8726b05887d9a48bb835a7f8e301c38 (patch)
treeb7c5edc796396deaa4b8769249444e943dc9424e /Zend/zend_constants.h
parentab2ebdb49bc67765df224d27405a710c1d874665 (diff)
downloadphp-git-f94b536bc8726b05887d9a48bb835a7f8e301c38.tar.gz
Replace *magic number* with a much nicer define.
Diffstat (limited to 'Zend/zend_constants.h')
-rw-r--r--Zend/zend_constants.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_constants.h b/Zend/zend_constants.h
index 38f2e5a80e..3b65ef97dd 100644
--- a/Zend/zend_constants.h
+++ b/Zend/zend_constants.h
@@ -27,6 +27,8 @@
#define CONST_CS (1<<0) /* Case Sensitive */
#define CONST_PERSISTENT (1<<1) /* Persistent */
+#define PHP_USER_CONSTANT LONG_MAX /* a constant defined in user space */
+
typedef struct _zend_constant {
zval value;
int flags;