summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2013-11-23 01:46:42 +0000
committerXuefer <xuefer@gmail.com>2013-11-23 01:46:42 +0000
commit501bbf2e0f5ac94e6d1f3f430833353a78081add (patch)
treec0d2787e0084ee9be179c9b33a83558ecda7a77a /devel
parent8550abf7e83e7bbcc484ee3ef3b25ff8714af144 (diff)
downloadxcache-501bbf2e0f5ac94e6d1f3f430833353a78081add.tar.gz
xcache-501bbf2e0f5ac94e6d1f3f430833353a78081add.zip
adds reflection info for APIs
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1477 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
Diffstat (limited to 'devel')
-rw-r--r--devel/exportfunctions.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/devel/exportfunctions.php b/devel/exportfunctions.php
new file mode 100644
index 0000000..02a2365
--- /dev/null
+++ b/devel/exportfunctions.php
@@ -0,0 +1,8 @@
+<?php
+
+$all_functions = get_defined_functions();
+$xcache_functions = preg_grep("/^xcache_/", $all_functions['internal']);
+foreach ($xcache_functions as $function) {
+ ReflectionFunction::export($function);
+}
+