Commit Graph

8 Commits

Author SHA1 Message Date
Etienne Kneuss
5cc7663098 SplFileObject does not accept directories. It did not check for that and blindly opened the directory, which works on linux but fails on windows. Now SplFileObject uses a stat() call to make sure it isn't a directory, if it is, it fails with an exception. Tests have been changed accordingly. 2011-09-08 15:52:59 +00:00
Etienne Kneuss
767eaa7a4e MFH: - Fix filename in debug_info
- Fix #45345 (getPathInfo on the file instead of the dir)
- Remove trailing / on input
2008-07-08 22:40:48 +00:00
Sebastian Bergmann
3a4eb3e4a6 Drop SKIPIF check for ext/spl. 2008-05-24 14:10:44 +00:00
Jani Taskinen
a541bb8078 - Fix tests
- Update README.PARAMETER_PARSING_API
2007-11-02 19:41:12 +00:00
Hannes Magnusson
1182b325c2 MFH: SplFileObject::getFilename() no longer overwrites SplFileInfo::getFilename()
(SplFileObject::getFilename() therefor only returns the filename now)
2006-11-12 17:16:13 +00:00
Hannes Magnusson
c32408e694 MFH: fix segfault & improve test 2006-11-06 15:21:45 +00:00
Marcus Boerger
bb3c702162 - MFH Fix issue with SplFileObject and directories 2006-07-15 13:01:59 +00:00
Marcus Boerger
0fd2b96204 - MFH Add test 2006-07-08 12:25:57 +00:00