xref: /PHP-7.4/ext/opcache/tests/bug78106.phpt (revision 75bc3446)
1--TEST--
2Bug #78106: Path resolution fails if opcache disabled during request
3--SKIPIF--
4<?php require_once('skipif.inc'); ?>
5--CONFLICTS--
6server
7--FILE--
8<?php
9
10include __DIR__ . "/php_cli_server.inc";
11php_cli_server_start(getenv('TEST_PHP_EXTRA_ARGS'));
12
13echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/bug78106_test1.php" );
14echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/bug78106_test2.php" );
15echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/bug78106_test1.php" );
16
17?>
18--EXPECT--
19included
20done
21included
22done
23included
24done
25