xref: /PHP-7.3/Zend/tests/constants_005.phpt (revision 1b565f13)
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--
10Warning: 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
11string(16) "ZEND_THREAD_safe"
12int(123)
13