summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README8
-rw-r--r--foo.php3
-rw-r--r--preload-foo.inc6
3 files changed, 17 insertions, 0 deletions
diff --git a/README b/README
index bf76936..598545e 100644
--- a/README
+++ b/README
@@ -28,3 +28,11 @@ http://creativecommons.org/licenses/by-sa/4.0/
Test script using above stuff
+# preload-foo.inc
+
+ Minimal Foo class
+
+# foo
+
+ Test script using above stuff
+
diff --git a/foo.php b/foo.php
new file mode 100644
index 0000000..13447ae
--- /dev/null
+++ b/foo.php
@@ -0,0 +1,3 @@
+<?php
+printf("Class Remi\Foo %s\n",
+ class_exists("\\Remi\\Foo") ? "exists" : "is missing");
diff --git a/preload-foo.inc b/preload-foo.inc
new file mode 100644
index 0000000..31be7d6
--- /dev/null
+++ b/preload-foo.inc
@@ -0,0 +1,6 @@
+<?php
+namespace Remi;
+
+class Foo {
+}
+