summaryrefslogtreecommitdiff
path: root/ext/spl/tests/fileobject_003.phpt
diff options
context:
space:
mode:
authorHannes Magnusson <bjori@php.net>2006-11-12 17:16:13 +0000
committerHannes Magnusson <bjori@php.net>2006-11-12 17:16:13 +0000
commit1182b325c25d147053c42034bfb9d818741799f8 (patch)
tree2b16cacd2adbe645a8297c118f17f0d37b5cce6d /ext/spl/tests/fileobject_003.phpt
parente0d385a328a9ff9f36804a65b59c530f0952f2e5 (diff)
downloadphp-git-1182b325c25d147053c42034bfb9d818741799f8.tar.gz
MFH: SplFileObject::getFilename() no longer overwrites SplFileInfo::getFilename()
(SplFileObject::getFilename() therefor only returns the filename now)
Diffstat (limited to 'ext/spl/tests/fileobject_003.phpt')
-rwxr-xr-xext/spl/tests/fileobject_003.phpt10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/spl/tests/fileobject_003.phpt b/ext/spl/tests/fileobject_003.phpt
index 02bc6c8fea..0b19ad7fbd 100755
--- a/ext/spl/tests/fileobject_003.phpt
+++ b/ext/spl/tests/fileobject_003.phpt
@@ -55,12 +55,12 @@ bool(true)
string(%d) "%sfileobject_001a.txt"
string(%d) "%sfileobject_001a.txt"
bool(true)
-string(%d) "%sfileobject_001a.txt"
+string(19) "fileobject_001a.txt"
bool(true)
string(%d) "%stests"
bool(true)
string(%d) "%sfileobject_001a.txt"
-string(%d) "%sfileobject_001a.txt"
+string(19) "fileobject_001a.txt"
string(%d) "%stests"
===1===
object(SplFileInfo)#%d (0) {
@@ -73,7 +73,7 @@ bool(true)
string(%d) "%stests/"
string(%d) "%stests"
bool(true)
-string(%d) "%stests"
+string(5) "tests"
bool(true)
string(%d) "%sspl"
bool(true)
@@ -91,11 +91,11 @@ bool(true)
string(%d) "%stests"
string(%d) "%stests"
bool(true)
-string(%d) "%stests"
+string(%d) "tests"
bool(true)
string(%d) "%sspl"
bool(true)
string(%d) "%stests"
-string(%d) "%stests"
+string(5) "tests"
string(%d) "%sspl"
===DONE===