]> granicus.if.org Git - php/commitdiff
This commit was manufactured by cvs2svn to create branch 'PHP_5_0'.
authorSVN Migration <svn@php.net>
Thu, 9 Sep 2004 07:46:20 +0000 (07:46 +0000)
committerSVN Migration <svn@php.net>
Thu, 9 Sep 2004 07:46:20 +0000 (07:46 +0000)
ext/spl/tests/dit_001.phpt [new file with mode: 0755]

diff --git a/ext/spl/tests/dit_001.phpt b/ext/spl/tests/dit_001.phpt
new file mode 100755 (executable)
index 0000000..62aae99
--- /dev/null
@@ -0,0 +1,11 @@
+--TEST--
+SPL: Problem with casting to string
+--FILE--
+<?php
+$d = new DirectoryIterator('.');
+preg_match('/x/', $d);
+var_dump($d);
+?>
+--EXPECTF--
+object(DirectoryIterator)#%d (0) {
+}