mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: Update SKIPIF for bug #67563 (#20133)
This commit is contained in:
@@ -6,15 +6,12 @@ mysqli
|
||||
<?php
|
||||
require_once 'connect.inc';
|
||||
|
||||
if ($host !== '127.0.0.1')
|
||||
die('skip local test');
|
||||
|
||||
if (@stream_socket_client('udp://[::1]:8888') === false)
|
||||
die('skip no IPv6 support 2');
|
||||
die('skip no IPv6 support');
|
||||
|
||||
if (!$link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
|
||||
die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
|
||||
$host, $user, $db, $port, $socket));
|
||||
if (!$link = @my_mysqli_connect('[::1]', $user, $passwd, $db, $port, $socket)) {
|
||||
die(sprintf("SKIP Cannot connect to the server using host=[::1], user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
|
||||
$user, $db, $port, $socket));
|
||||
}
|
||||
?>
|
||||
--INI--
|
||||
|
||||
Reference in New Issue
Block a user