Lines Matching refs:str
8 $str = "test0123";
10 var_dump(isset($str[-1]));
11 var_dump(isset($str[-10]));
12 var_dump(isset($str[0]));
13 var_dump(isset($str[1]));
14 var_dump(isset($str[4])); // 0
15 var_dump(isset($str[5])); // 1
16 var_dump(isset($str[8]));
17 var_dump(isset($str[10000]));
20 var_dump(isset($str['-1'])); // 3
21 var_dump(isset($str['-10']));
22 var_dump(isset($str['0']));
23 var_dump(isset($str['1']));
24 var_dump(isset($str['4'])); // 0
25 var_dump(isset($str['1.5']));
26 var_dump(isset($str['good']));
27 var_dump(isset($str['3 and a half']));
29 var_dump(isset($str[$key = '-1'])); // 3
30 var_dump(isset($str[$key = '-10']));
31 var_dump(isset($str[$key = '0']));
32 var_dump(isset($str[$key = '1']));
33 var_dump(isset($str[$key = '4'])); // 0
34 var_dump(isset($str[$key = '1.5']));
35 var_dump(isset($str[$key = 'good']));
36 var_dump(isset($str[$key = '3 and a half']));
38 var_dump(isset($str[true]));
39 var_dump(isset($str[false]));
40 var_dump(isset($str[false][true]));
42 var_dump(isset($str[null]));
44 var_dump(isset($str[-1.1]));
45 var_dump(isset($str[-10.5]));
46 var_dump(isset($str[-0.8]));
47 var_dump(isset($str[-0.1]));
48 var_dump(isset($str[0.2]));
49 var_dump(isset($str[0.9]));
50 var_dump(isset($str[M_PI]));
51 var_dump(isset($str[100.5001]));
53 var_dump(isset($str[array()]));
54 var_dump(isset($str[array(1,2,3)]));
56 var_dump(isset($str[new stdClass()]));
59 var_dump(isset($str[$f]));