xref: /PHP-8.1/ext/opcache/tests/bug78106.phpt (revision e9f783fc)
1--TEST--
2Bug #78106: Path resolution fails if opcache disabled during request
3--EXTENSIONS--
4opcache
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