bug78106.phpt 545 B

123456789101112131415161718192021222324
  1. --TEST--
  2. Bug #78106: Path resolution fails if opcache disabled during request
  3. --EXTENSIONS--
  4. opcache
  5. --CONFLICTS--
  6. server
  7. --FILE--
  8. <?php
  9. include __DIR__ . "/php_cli_server.inc";
  10. php_cli_server_start(getenv('TEST_PHP_EXTRA_ARGS'));
  11. echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/bug78106_test1.php" );
  12. echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/bug78106_test2.php" );
  13. echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/bug78106_test1.php" );
  14. ?>
  15. --EXPECT--
  16. included
  17. done
  18. included
  19. done
  20. included
  21. done