|
35 | 35 | JSON support |
36 | 36 | </dt> |
37 | 37 | <dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2"> |
38 | | - <?php preg_match("/^json => (.+)/m", $openswoole, $json); echo $json[1]; ?> |
| 38 | + <?php preg_match("/^json => (.+)/m", $openswoole, $json); echo $json[1] ?? 'disabled'; ?> |
39 | 39 | </dd> |
40 | 40 | </div> |
41 | 41 | <div class="py-4 sm:py-5 sm:grid sm:grid-cols-3 sm:gap-4"> |
42 | 42 | <dt class="text-sm font-medium text-gray-500"> |
43 | 43 | HTTP2 support |
44 | 44 | </dt> |
45 | 45 | <dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2"> |
46 | | - <?php preg_match("/^http2 => (.+)/m", $openswoole, $http2); echo $http2[1]; ?> |
| 46 | + <?php preg_match("/^http2 => (.+)/m", $openswoole, $http2); echo $http2[1] ?? 'disabled'; ?> |
47 | 47 | </dd> |
48 | 48 | </div> |
49 | 49 | <div class="py-4 sm:py-5 sm:grid sm:grid-cols-3 sm:gap-4"> |
50 | 50 | <dt class="text-sm font-medium text-gray-500"> |
51 | 51 | OpenSSL support |
52 | 52 | </dt> |
53 | 53 | <dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2"> |
54 | | - <?php preg_match("/^openssl => (.+)/m", $openswoole, $openssl); echo $openssl[1]; ?> |
| 54 | + <?php preg_match("/^openssl => (.+)/m", $openswoole, $openssl); echo $openssl[1] ?? 'disabled'; ?> |
55 | 55 | </dd> |
56 | 56 | </div> |
57 | 57 | <div class="py-4 sm:py-5 sm:grid sm:grid-cols-3 sm:gap-4"> |
58 | 58 | <dt class="text-sm font-medium text-gray-500"> |
59 | 59 | Native cURL support |
60 | 60 | </dt> |
61 | 61 | <dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2"> |
62 | | - <?php preg_match("/^curl-native => (.+)/m", $openswoole, $curl); echo $curl[1]; ?> |
| 62 | + <?php preg_match("/^curl-native => (.+)/m", $openswoole, $curl); echo $curl[1] ?? 'disabled'; ?> |
63 | 63 | </dd> |
64 | 64 | </div> |
65 | 65 | <div class="py-4 sm:py-5 sm:grid sm:grid-cols-3 sm:gap-4"> |
66 | 66 | <dt class="text-sm font-medium text-gray-500"> |
67 | 67 | mysqlnd support |
68 | 68 | </dt> |
69 | 69 | <dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2"> |
70 | | - <?php preg_match("/^mysqlnd => (.+)/m", $openswoole, $mysqlnd); echo $mysqlnd[1]; ?> |
| 70 | + <?php preg_match("/^mysqlnd => (.+)/m", $openswoole, $mysqlnd); echo $mysqlnd[1] ?? 'disabled'; ?> |
71 | 71 | </dd> |
72 | 72 | </div> |
73 | 73 | <div class="py-4 sm:py-5 sm:grid sm:grid-cols-3 sm:gap-4"> |
74 | 74 | <dt class="text-sm font-medium text-gray-500"> |
75 | 75 | sockets support |
76 | 76 | </dt> |
77 | 77 | <dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2"> |
78 | | - <?php preg_match("/^sockets => (.+)/m", $openswoole, $sockets); echo $sockets[1]; ?> |
| 78 | + <?php preg_match("/^sockets => (.+)/m", $openswoole, $sockets); echo $sockets[1] ?? 'disabled'; ?> |
79 | 79 | </dd> |
80 | 80 | </div> |
81 | 81 | <div class="py-4 sm:py-5 sm:grid sm:grid-cols-3 sm:gap-4"> |
82 | 82 | <dt class="text-sm font-medium text-gray-500"> |
83 | 83 | postgres support |
84 | 84 | </dt> |
85 | 85 | <dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2"> |
86 | | - <?php preg_match("/^postgres => (.+)/m", $openswoole, $postgres); echo $postgres[1]; ?> |
| 86 | + <?php preg_match("/^postgres => (.+)/m", $openswoole, $postgres); echo $postgres[1] ?? 'disabled'; ?> |
87 | 87 | </dd> |
88 | 88 | </div> |
89 | 89 | <?php endif; ?> |
|
0 commit comments