diff --git a/web/card-openswoole.phtml b/web/card-openswoole.phtml index 2e74601..b96c91a 100644 --- a/web/card-openswoole.phtml +++ b/web/card-openswoole.phtml @@ -35,7 +35,7 @@ JSON support
- (.+)/m", $openswoole, $json); echo $json[1]; ?> + (.+)/m", $openswoole, $json); echo $json[1] ?? 'disabled'; ?>
@@ -43,7 +43,7 @@ HTTP2 support
- (.+)/m", $openswoole, $http2); echo $http2[1]; ?> + (.+)/m", $openswoole, $http2); echo $http2[1] ?? 'disabled'; ?>
@@ -51,7 +51,7 @@ OpenSSL support
- (.+)/m", $openswoole, $openssl); echo $openssl[1]; ?> + (.+)/m", $openswoole, $openssl); echo $openssl[1] ?? 'disabled'; ?>
@@ -59,7 +59,7 @@ Native cURL support
- (.+)/m", $openswoole, $curl); echo $curl[1]; ?> + (.+)/m", $openswoole, $curl); echo $curl[1] ?? 'disabled'; ?>
@@ -67,7 +67,7 @@ mysqlnd support
- (.+)/m", $openswoole, $mysqlnd); echo $mysqlnd[1]; ?> + (.+)/m", $openswoole, $mysqlnd); echo $mysqlnd[1] ?? 'disabled'; ?>
@@ -75,7 +75,7 @@ sockets support
- (.+)/m", $openswoole, $sockets); echo $sockets[1]; ?> + (.+)/m", $openswoole, $sockets); echo $sockets[1] ?? 'disabled'; ?>
@@ -83,7 +83,7 @@ postgres support
- (.+)/m", $openswoole, $postgres); echo $postgres[1]; ?> + (.+)/m", $openswoole, $postgres); echo $postgres[1] ?? 'disabled'; ?>
diff --git a/web/card-swoole.phtml b/web/card-swoole.phtml index 3038af0..bf11934 100644 --- a/web/card-swoole.phtml +++ b/web/card-swoole.phtml @@ -35,7 +35,7 @@ JSON support
- (.+)/m", $swoole, $json); echo $json[1]; ?> + (.+)/m", $swoole, $json); echo $json[1] ?? 'disabled'; ?>
@@ -43,7 +43,7 @@ HTTP2 support
- (.+)/m", $swoole, $http2); echo $http2[1]; ?> + (.+)/m", $swoole, $http2); echo $http2[1] ?? 'disabled'; ?>
@@ -51,7 +51,7 @@ OpenSSL support
- (.+)/m", $swoole, $openssl); echo $openssl[1]; ?> + (.+)/m", $swoole, $openssl); echo $openssl[1] ?? 'disabled'; ?>
@@ -59,7 +59,7 @@ Native cURL support
- (.+)/m", $swoole, $curl); echo $curl[1]; ?> + (.+)/m", $swoole, $curl); echo $curl[1] ?? 'disabled'; ?>
@@ -67,7 +67,7 @@ mysqlnd support
- (.+)/m", $swoole, $mysqlnd); echo $mysqlnd[1]; ?> + (.+)/m", $swoole, $mysqlnd); echo $mysqlnd[1] ?? 'disabled'; ?>
@@ -75,7 +75,7 @@ sockets support
- (.+)/m", $swoole, $sockets); echo $sockets[1]; ?> + (.+)/m", $swoole, $sockets); echo $sockets[1] ?? 'disabled'; ?>