Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions web/card-openswoole.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -35,55 +35,55 @@
JSON support
</dt>
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2">
<?php preg_match("/^json => (.+)/m", $openswoole, $json); echo $json[1]; ?>
<?php preg_match("/^json => (.+)/m", $openswoole, $json); echo $json[1] ?? 'disabled'; ?>
</dd>
</div>
<div class="py-4 sm:py-5 sm:grid sm:grid-cols-3 sm:gap-4">
<dt class="text-sm font-medium text-gray-500">
HTTP2 support
</dt>
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2">
<?php preg_match("/^http2 => (.+)/m", $openswoole, $http2); echo $http2[1]; ?>
<?php preg_match("/^http2 => (.+)/m", $openswoole, $http2); echo $http2[1] ?? 'disabled'; ?>
</dd>
</div>
<div class="py-4 sm:py-5 sm:grid sm:grid-cols-3 sm:gap-4">
<dt class="text-sm font-medium text-gray-500">
OpenSSL support
</dt>
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2">
<?php preg_match("/^openssl => (.+)/m", $openswoole, $openssl); echo $openssl[1]; ?>
<?php preg_match("/^openssl => (.+)/m", $openswoole, $openssl); echo $openssl[1] ?? 'disabled'; ?>
</dd>
</div>
<div class="py-4 sm:py-5 sm:grid sm:grid-cols-3 sm:gap-4">
<dt class="text-sm font-medium text-gray-500">
Native cURL support
</dt>
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2">
<?php preg_match("/^curl-native => (.+)/m", $openswoole, $curl); echo $curl[1]; ?>
<?php preg_match("/^curl-native => (.+)/m", $openswoole, $curl); echo $curl[1] ?? 'disabled'; ?>
</dd>
</div>
<div class="py-4 sm:py-5 sm:grid sm:grid-cols-3 sm:gap-4">
<dt class="text-sm font-medium text-gray-500">
mysqlnd support
</dt>
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2">
<?php preg_match("/^mysqlnd => (.+)/m", $openswoole, $mysqlnd); echo $mysqlnd[1]; ?>
<?php preg_match("/^mysqlnd => (.+)/m", $openswoole, $mysqlnd); echo $mysqlnd[1] ?? 'disabled'; ?>
</dd>
</div>
<div class="py-4 sm:py-5 sm:grid sm:grid-cols-3 sm:gap-4">
<dt class="text-sm font-medium text-gray-500">
sockets support
</dt>
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2">
<?php preg_match("/^sockets => (.+)/m", $openswoole, $sockets); echo $sockets[1]; ?>
<?php preg_match("/^sockets => (.+)/m", $openswoole, $sockets); echo $sockets[1] ?? 'disabled'; ?>
</dd>
</div>
<div class="py-4 sm:py-5 sm:grid sm:grid-cols-3 sm:gap-4">
<dt class="text-sm font-medium text-gray-500">
postgres support
</dt>
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2">
<?php preg_match("/^postgres => (.+)/m", $openswoole, $postgres); echo $postgres[1]; ?>
<?php preg_match("/^postgres => (.+)/m", $openswoole, $postgres); echo $postgres[1] ?? 'disabled'; ?>
</dd>
</div>
<?php endif; ?>
Expand Down
12 changes: 6 additions & 6 deletions web/card-swoole.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -35,47 +35,47 @@
JSON support
</dt>
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2">
<?php preg_match("/^json => (.+)/m", $swoole, $json); echo $json[1]; ?>
<?php preg_match("/^json => (.+)/m", $swoole, $json); echo $json[1] ?? 'disabled'; ?>
</dd>
</div>
<div class="py-4 sm:py-5 sm:grid sm:grid-cols-3 sm:gap-4">
<dt class="text-sm font-medium text-gray-500">
HTTP2 support
</dt>
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2">
<?php preg_match("/^http2 => (.+)/m", $swoole, $http2); echo $http2[1]; ?>
<?php preg_match("/^http2 => (.+)/m", $swoole, $http2); echo $http2[1] ?? 'disabled'; ?>
</dd>
</div>
<div class="py-4 sm:py-5 sm:grid sm:grid-cols-3 sm:gap-4">
<dt class="text-sm font-medium text-gray-500">
OpenSSL support
</dt>
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2">
<?php preg_match("/^openssl => (.+)/m", $swoole, $openssl); echo $openssl[1]; ?>
<?php preg_match("/^openssl => (.+)/m", $swoole, $openssl); echo $openssl[1] ?? 'disabled'; ?>
</dd>
</div>
<div class="py-4 sm:py-5 sm:grid sm:grid-cols-3 sm:gap-4">
<dt class="text-sm font-medium text-gray-500">
Native cURL support
</dt>
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2">
<?php preg_match("/^curl-native => (.+)/m", $swoole, $curl); echo $curl[1]; ?>
<?php preg_match("/^curl-native => (.+)/m", $swoole, $curl); echo $curl[1] ?? 'disabled'; ?>
</dd>
</div>
<div class="py-4 sm:py-5 sm:grid sm:grid-cols-3 sm:gap-4">
<dt class="text-sm font-medium text-gray-500">
mysqlnd support
</dt>
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2">
<?php preg_match("/^mysqlnd => (.+)/m", $swoole, $mysqlnd); echo $mysqlnd[1]; ?>
<?php preg_match("/^mysqlnd => (.+)/m", $swoole, $mysqlnd); echo $mysqlnd[1] ?? 'disabled'; ?>
</dd>
</div>
<div class="py-4 sm:py-5 sm:grid sm:grid-cols-3 sm:gap-4">
<dt class="text-sm font-medium text-gray-500">
sockets support
</dt>
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2">
<?php preg_match("/^sockets => (.+)/m", $swoole, $sockets); echo $sockets[1]; ?>
<?php preg_match("/^sockets => (.+)/m", $swoole, $sockets); echo $sockets[1] ?? 'disabled'; ?>
</dd>
</div>
<?php endif; ?>
Expand Down