summaryrefslogtreecommitdiff
path: root/ext/spl/tests/bug51532.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/bug51532.phpt')
-rw-r--r--ext/spl/tests/bug51532.phpt14
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/spl/tests/bug51532.phpt b/ext/spl/tests/bug51532.phpt
new file mode 100644
index 000000000..3a0722b2a
--- /dev/null
+++ b/ext/spl/tests/bug51532.phpt
@@ -0,0 +1,14 @@
+--TEST--
+SPL: Allow valid extension of SplFileObject::fscanf
+--FILE--
+<?php
+
+class A extends SplFileObject {
+ public function fscanf($format) {
+
+ }
+}
+?>
+===DONE===
+--EXPECT--
+===DONE===