summaryrefslogtreecommitdiff
path: root/ext/spl/tests/SplFileInfo_001.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/SplFileInfo_001.phpt')
-rw-r--r--ext/spl/tests/SplFileInfo_001.phpt11
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/spl/tests/SplFileInfo_001.phpt b/ext/spl/tests/SplFileInfo_001.phpt
new file mode 100644
index 0000000000..72060f0dba
--- /dev/null
+++ b/ext/spl/tests/SplFileInfo_001.phpt
@@ -0,0 +1,11 @@
+--TEST--
+Testing SplFileInfo calling the constructor twice
+--FILE--
+<?php
+$x = new splfileinfo(1);
+$x->__construct(1);
+
+echo "done!\n";
+?>
+--EXPECT--
+done!