mirror of
https://github.com/php/php-src.git
synced 2024-12-13 03:44:17 +08:00
1b565f1393
Implements RFC "Deprecate and Remove Bareword (Unquoted) Strings" [https://wiki.php.net/rfc/deprecate-bareword-strings]
13 lines
374 B
PHP
13 lines
374 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--
|
|
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
|
|
string(16) "ZEND_THREAD_safe"
|
|
int(123)
|