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']));
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[true]));
30 var_dump(isset($str[false]));
31 var_dump(isset($str[false][true]));
33 var_dump(isset($str[null]));
35 var_dump(isset($str[-1.1]));
36 var_dump(isset($str[-10.5]));
37 var_dump(isset($str[-0.8]));
38 var_dump(isset($str[-0.1]));
39 var_dump(isset($str[0.2]));
40 var_dump(isset($str[0.9]));
41 var_dump(isset($str[M_PI]));
42 var_dump(isset($str[100.5001]));
44 var_dump(isset($str[array()]));
45 var_dump(isset($str[array(1,2,3)]));
47 var_dump(isset($str[new stdClass()]));
50 var_dump(isset($str[$f]));