Lines Matching refs:define
2 define() tests
7 var_dump(define(array(1,2,3,4,5), 1));
12 var_dump(define("TRUE", 1));
13 var_dump(define(" ", 1));
14 var_dump(define("[[[", 2));
15 var_dump(define("test const", 3));
16 var_dump(define("test const", 3));
17 var_dump(define("test", array(1)));
18 var_dump(define("test1", fopen(__FILE__, 'r')));
19 var_dump(define("test2", new stdclass));
28 TypeError: define(): Argument #1 ($constant_name) must be of type string, array given