Lines Matching refs:str
8 $str = "test0123";
10 var_dump(isset($str[-1]));
11 var_dump(isset($str[0]));
12 var_dump(isset($str[1]));
13 var_dump(isset($str[4])); // 0
14 var_dump(isset($str[5])); // 1
15 var_dump(isset($str[8]));
16 var_dump(isset($str[10000]));
19 var_dump(isset($str['-1']));
20 var_dump(isset($str['0']));
21 var_dump(isset($str['1']));
22 var_dump(isset($str['4'])); // 0
23 var_dump(isset($str['1.5']));
24 var_dump(isset($str['good']));
25 var_dump(isset($str['3 and a half']));
27 var_dump(isset($str[true]));
28 var_dump(isset($str[false]));
29 var_dump(isset($str[false][true]));
31 var_dump(isset($str[null]));
33 var_dump(isset($str[-1.1]));
34 var_dump(isset($str[-0.8]));
35 var_dump(isset($str[-0.1]));
36 var_dump(isset($str[0.2]));
37 var_dump(isset($str[0.9]));
38 var_dump(isset($str[M_PI]));
39 var_dump(isset($str[100.5001]));
41 var_dump(isset($str[array()]));
42 var_dump(isset($str[array(1,2,3)]));
44 var_dump(isset($str[new stdClass()]));
47 var_dump(isset($str[$f]));