summaryrefslogtreecommitdiff
path: root/ext/opcache/tests/preload_const_autoload.inc
diff options
context:
space:
mode:
Diffstat (limited to 'ext/opcache/tests/preload_const_autoload.inc')
-rw-r--r--ext/opcache/tests/preload_const_autoload.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/opcache/tests/preload_const_autoload.inc b/ext/opcache/tests/preload_const_autoload.inc
new file mode 100644
index 0000000000..b9634de49a
--- /dev/null
+++ b/ext/opcache/tests/preload_const_autoload.inc
@@ -0,0 +1,7 @@
+<?php
+
+spl_autoload_register(function($class) {
+ var_dump($class);
+ new Abc;
+});
+opcache_compile_file('preload_const_autoload_2.inc');