]> granicus.if.org Git - php/commit
Fix #77024: SplFileObject::__toString() may return array
authorCraig Duncan <git@duncanc.co.uk>
Sat, 27 Apr 2019 22:44:48 +0000 (00:44 +0200)
committerPeter Kokot <peterkokot@gmail.com>
Sat, 27 Apr 2019 22:44:48 +0000 (00:44 +0200)
commit91c6fb881e7b98c968d270bdf7f0051b4c2b2c9c
tree7f618902bf1cc31abb692c6b8351e930a2710456
parent57d5dc5688a898be705053819519815b122c5ab7
Fix #77024: SplFileObject::__toString() may return array

- Correct the behaviour of casting spl files to strings
- Add a test for Bug 77024
ext/spl/spl_directory.c
ext/spl/tests/bug77024.phpt [new file with mode: 0644]