1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 01:32:22 +01:00

Merge branch 'PHP-7.2'

This commit is contained in:
Jakub Zelenka
2018-06-21 17:03:07 +01:00
2 changed files with 5 additions and 0 deletions

View File

@@ -3,6 +3,8 @@ sni_server with separate pk and cert
--SKIPIF--
<?php
if (!extension_loaded("openssl")) die("skip openssl not loaded");
if (!function_exists("proc_open")) die("skip no proc_open");
?>
--FILE--
<?php
$serverCode = <<<'CODE'
@@ -63,6 +65,7 @@ CODE;
include 'ServerClientTestCase.inc';
ServerClientTestCase::getInstance()->run($clientCode, $serverCode);
?>
--EXPECTF--
string(%d) "cs.php.net"
string(%d) "uk.php.net"

View File

@@ -4,6 +4,7 @@ tls stream wrapper
<?php
if (!extension_loaded("openssl")) die("skip openssl not loaded");
if (!function_exists("proc_open")) die("skip no proc_open");
?>
--FILE--
<?php
$serverCode = <<<'CODE'
@@ -50,6 +51,7 @@ CODE;
include 'ServerClientTestCase.inc';
ServerClientTestCase::getInstance()->run($clientCode, $serverCode);
?>
--EXPECTF--
resource(%d) of type (stream)
bool(false)