summaryrefslogtreecommitdiffhomepage
path: root/test/php/opcache/preload/chdir.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/php/opcache/preload/chdir.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/php/opcache/preload/chdir.php b/test/php/opcache/preload/chdir.php
new file mode 100644
index 00000000..ad75e6ad
--- /dev/null
+++ b/test/php/opcache/preload/chdir.php
@@ -0,0 +1,7 @@
+<?php
+
+chdir(realpath(__DIR__ . '/..'));
+
+opcache_compile_file('index.php');
+
+?>