summaryrefslogtreecommitdiff
path: root/Zend/tests/constants_005.phpt
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2008-07-28 14:12:19 +0000
committerDmitry Stogov <dmitry@php.net>2008-07-28 14:12:19 +0000
commit44caafc62eafad94cae89455a639765e5f819bc2 (patch)
tree18ac2fda02543509b5fd78ef3a7edfd7fa17c882 /Zend/tests/constants_005.phpt
parente06259421563e7001ec48c44c1e8401e8d307b04 (diff)
downloadphp-git-44caafc62eafad94cae89455a639765e5f819bc2.tar.gz
Fixed constant substitution (Matt)
Diffstat (limited to 'Zend/tests/constants_005.phpt')
-rwxr-xr-xZend/tests/constants_005.phpt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Zend/tests/constants_005.phpt b/Zend/tests/constants_005.phpt
new file mode 100755
index 0000000000..097be97e14
--- /dev/null
+++ b/Zend/tests/constants_005.phpt
@@ -0,0 +1,11 @@
+--TEST--
+Persistent case insensetive and user defined constants
+--FILE--
+<?php
+var_dump(ZEND_THREAD_safe);
+define("ZEND_THREAD_safe", 123);
+var_dump(ZEND_THREAD_safe);
+?>
+--EXPECTF--
+bool(%s)
+int(123)