1--TEST-- 2Test trait_exists() function : usage variations - case sensitivity 3--FILE-- 4<?php 5/* Prototype : proto bool trait_exists(string traitname [, bool autoload]) 6 * Description: Checks if the trait exists 7 * Source code: Zend/zend_builtin_functions.c 8 * Alias to functions: 9 */ 10 11trait caseSensitivityTest {} 12var_dump(trait_exists('casesensitivitytest')); 13 14echo "Done" 15?> 16--EXPECTF-- 17bool(true) 18Done 19