bug79589.phpt 383 B

123456789101112131415161718192021
  1. --TEST--
  2. Bug #65538: TLS unexpected EOF failure
  3. --EXTENSIONS--
  4. openssl
  5. --SKIPIF--
  6. <?php
  7. if (getenv("SKIP_ONLINE_TESTS")) die("skip online test");
  8. ?>
  9. --FILE--
  10. <?php
  11. $release = file_get_contents(
  12. 'https://chromedriver.storage.googleapis.com/LATEST_RELEASE',
  13. false,
  14. stream_context_create(['ssl' => ['verify_peer'=> false]])
  15. );
  16. echo gettype($release);
  17. ?>
  18. --EXPECT--
  19. string