Lines Matching refs:empty
35 if (empty($arr['exists']['non_existent'])) {
36 echo "sub-key 'non_existent' is empty.\n";
38 echo "sub-key 'non_existent' is not empty: ";
41 if (empty($arr['exists'][1])) {
42 echo "sub-key 1 is empty.\n";
44 echo "sub-key 1 is not empty: ";
49 if (empty($arr['exists']['non_existent']['sub_sub'])) {
50 echo "sub-sub-key 'sub_sub' is empty.\n";
52 echo "sub-sub-key 'sub_sub' is not empty: ";
55 if (empty($arr['exists'][1][0])) {
56 echo "sub-sub-key 0 is empty.\n";
58 echo "sub-sub-key 0 is not empty: ";
70 sub-key 'non_existent' is empty.
71 sub-key 1 is not empty: string(1) "o"
73 sub-sub-key 'sub_sub' is empty.
74 sub-sub-key 0 is not empty: string(1) "o"