/src/php-src/ext/opcache/zend_accelerator_api.c
Line | Count | Source |
1 | | /* |
2 | | +----------------------------------------------------------------------+ |
3 | | | Zend OPcache | |
4 | | +----------------------------------------------------------------------+ |
5 | | | Copyright © The PHP Group and Contributors. | |
6 | | +----------------------------------------------------------------------+ |
7 | | | This source file is subject to the Modified BSD License that is | |
8 | | | bundled with this package in the file LICENSE, and is available | |
9 | | | through the World Wide Web at <https://www.php.net/license/>. | |
10 | | | | |
11 | | | SPDX-License-Identifier: BSD-3-Clause | |
12 | | +----------------------------------------------------------------------+ |
13 | | */ |
14 | | |
15 | | #include "zend_accelerator_api.h" |
16 | | #include "ZendAccelerator.h" |
17 | | |
18 | | ZEND_API bool opcache_preloading(void) |
19 | 0 | { |
20 | 0 | return ZCG(preloading); |
21 | 0 | } |