php-src/Zend/tests/constants_005.phpt
2012-10-10 10:31:31 +08:00

13 lines
319 B
PHP

--TEST--
Persistent case insensitive and user defined constants
--FILE--
<?php
var_dump(ZEND_THREAD_safe);
define("ZEND_THREAD_safe", 123);
var_dump(ZEND_THREAD_safe);
?>
--EXPECTF--
Notice: Use of undefined constant ZEND_THREAD_safe - assumed 'ZEND_THREAD_safe' in %s on line %d
string(16) "ZEND_THREAD_safe"
int(123)