mirror of
https://github.com/php/php-src.git
synced 2024-12-12 11:23:53 +08:00
MFH: Fixed ext/sockets/tests/socket_strerror.phpt
So it seems a missing ) killed the test.
This commit is contained in:
parent
1159cd2002
commit
c5741472b0
@ -5,10 +5,10 @@ Florian Anderiasch
|
||||
fa@php.net
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('sockets')) {
|
||||
if (!extension_loaded('sockets') || !function_exists('socket_strerror')) {
|
||||
die('skip sockets extension not available.');
|
||||
}
|
||||
if (!stristr(PHP_OS, "linux") {
|
||||
if (!stristr(PHP_OS, "Linux")) {
|
||||
die('skip - test validtes linux error strings only.');
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user