constants_005.phpt 374 B

123456789101112
  1. --TEST--
  2. Persistent case insensitive and user defined constants
  3. --FILE--
  4. <?php
  5. var_dump(ZEND_THREAD_safe);
  6. define("ZEND_THREAD_safe", 123);
  7. var_dump(ZEND_THREAD_safe);
  8. ?>
  9. --EXPECTF--
  10. 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
  11. string(16) "ZEND_THREAD_safe"
  12. int(123)