summaryrefslogtreecommitdiffstats
path: root/preload.php
diff options
context:
space:
mode:
Diffstat (limited to 'preload.php')
-rw-r--r--preload.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/preload.php b/preload.php
new file mode 100644
index 0000000..1af70d6
--- /dev/null
+++ b/preload.php
@@ -0,0 +1,8 @@
+<?php
+foreach (glob(__DIR__ . '/preload-*.h') as $f) {
+ \FFI::load($f);
+}
+foreach (glob(__DIR__ . '/preload-*.inc') as $f) {
+ opcache_compile_file($f);
+}
+