Lines Matching refs:key
2 Bug #80724 (FOLLOW_SYMLINKS interfering with FilesystemIterator key flags)
6 foreach ($iterator as $key => $value) {
7 echo var_dump(hasSeparator($key));
11 echo var_dump(hasSeparator($iterator->key()));
14 echo var_dump(hasSeparator($iterator->key()));
17 echo var_dump(hasSeparator($iterator->key()));
20 foreach ($iterator2 as $key => $value) {
21 echo var_dump(hasSeparator($key));
25 echo var_dump(hasSeparator($iterator2->key()));
28 echo var_dump(hasSeparator($iterator2->key()));
31 echo var_dump(hasSeparator($iterator2->key()));
33 function hasSeparator($key) {
34 return str_contains($key, __DIR__ . DIRECTORY_SEPARATOR);