mirror of
https://github.com/php/php-src.git
synced 2026-04-14 11:32:11 +02:00
All these tests are meant to run with OPcache available, and some will even fail inevitably without it, so we add OPcache as SKIPIF requirement.
23 lines
549 B
PHP
23 lines
549 B
PHP
--TEST--
|
|
Bug #78106: Path resolution fails if opcache disabled during request
|
|
--SKIPIF--
|
|
<?php require_once('skipif.inc'); ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
include __DIR__ . "/php_cli_server.inc";
|
|
php_cli_server_start(getenv('TEST_PHP_EXTRA_ARGS'));
|
|
|
|
echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/bug78106_test1.php" );
|
|
echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/bug78106_test2.php" );
|
|
echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/bug78106_test1.php" );
|
|
|
|
?>
|
|
--EXPECT--
|
|
included
|
|
done
|
|
included
|
|
done
|
|
included
|
|
done
|