summaryrefslogtreecommitdiff
path: root/ext/opcache/tests/preload_inheritance_error.inc
diff options
context:
space:
mode:
Diffstat (limited to 'ext/opcache/tests/preload_inheritance_error.inc')
-rw-r--r--ext/opcache/tests/preload_inheritance_error.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/opcache/tests/preload_inheritance_error.inc b/ext/opcache/tests/preload_inheritance_error.inc
new file mode 100644
index 0000000000..b0b8274060
--- /dev/null
+++ b/ext/opcache/tests/preload_inheritance_error.inc
@@ -0,0 +1,9 @@
+<?php
+
+interface A {
+ public function foo();
+}
+
+class B implements A {
+ public function foo($bar) {}
+}