1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 08:42:29 +01:00
Files
archived-php-src/ext/opcache/tests/api/opcache_preloading_001.phpt
Arnaud Le Blanc c105571052 Fix test
2025-08-06 19:55:56 +02:00

22 lines
412 B
PHP

--TEST--
opcache_preloading() api 001
--EXTENSIONS--
zend_test
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.preload={PWD}/opcache_preloading.inc
--SKIPIF--
<?php
if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows');
?>
--FILE--
<?php
printf("%s: %d\n", __FILE__, zend_test_opcache_preloading());
?>
--EXPECTF--
%sopcache_preloading.inc: 1
%sopcache_preloading_001.php: 0