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