xref: /PHP-5.4/Zend/tests/constants_005.phpt (revision 610c7fbe)
1--TEST--
2Persistent case insensitive and user defined constants
3--FILE--
4<?php
5var_dump(ZEND_THREAD_safe);
6define("ZEND_THREAD_safe", 123);
7var_dump(ZEND_THREAD_safe);
8?>
9--EXPECTF--
10Notice: Use of undefined constant ZEND_THREAD_safe - assumed 'ZEND_THREAD_safe' in %s on line %d
11string(16) "ZEND_THREAD_safe"
12int(123)
13