--TEST-- Bug GH-9227 (Trailing dots and spaces in filenames are ignored) --SKIPIF-- --FILE-- --CLEAN-- --EXPECT-- bool(false) int(3) bool(false)