php-src/Zend/tests/constants_005.phpt

13 lines
374 B
Plaintext
Raw Normal View History

2008-07-28 22:13:12 +08:00
--TEST--
2011-05-25 07:49:04 +08:00
Persistent case insensitive and user defined constants
2008-07-28 22:13:12 +08:00
--FILE--
<?php
var_dump(ZEND_THREAD_safe);
define("ZEND_THREAD_safe", 123);
var_dump(ZEND_THREAD_safe);
?>
--EXPECTF--
Warning: Use of undefined constant ZEND_THREAD_safe - assumed 'ZEND_THREAD_safe' (this will throw an Error in a future version of PHP) in %s on line %d
2011-05-19 04:07:11 +08:00
string(16) "ZEND_THREAD_safe"
2008-07-28 22:13:12 +08:00
int(123)