xref: /PHP-7.2/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--FILE--
6<?php
7
8include __DIR__ . "/php_cli_server.inc";
9php_cli_server_start(getenv('TEST_PHP_EXTRA_ARGS'));
10
11echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/bug78106_test1.php" );
12echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/bug78106_test2.php" );
13echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/bug78106_test1.php" );
14
15?>
16--EXPECT--
17included
18done
19included
20done
21included
22done
23