Skip to content

Commit 3b3d5fb

Browse files
author
nono303
committed
typo
1 parent 740f270 commit 3b3d5fb

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

ext/curl/interface.c

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1191,70 +1191,70 @@ PHP_FUNCTION(curl_version)
11911191
add_next_index_string (&ssl_backends, list[i]->name);
11921192
CAAZ("ssl_backends", &ssl_backends);
11931193
}
1194-
zval feature_version;
1195-
array_init(&feature_version);
1194+
zval features_version;
1195+
array_init(&features_version);
11961196
if (d->ssl_version) {
1197-
add_assoc_string (&feature_version, "ssl", d->ssl_version);
1197+
add_assoc_string (&features_version, "ssl", d->ssl_version);
11981198
}
11991199
if (d->libz_version) {
1200-
add_assoc_string (&feature_version, "libz", d->libz_version);
1200+
add_assoc_string (&features_version, "libz", d->libz_version);
12011201
}
12021202
#if LIBCURL_VERSION_NUM >= 0x070B01 /* Available since 7.11.1 CURLVERSION_SECOND */
12031203
if (d->ares) {
1204-
add_assoc_string (&feature_version, "ares", d->ares);
1204+
add_assoc_string (&features_version, "ares", d->ares);
12051205
}
12061206
#endif
12071207
#if LIBCURL_VERSION_NUM >= 0x070C00 /* Available since 7.12.0 CURLVERSION_THIRD */
12081208
if (d->libidn) {
1209-
add_assoc_string (&feature_version, "libidn", d->libidn);
1209+
add_assoc_string (&features_version, "libidn", d->libidn);
12101210
}
12111211
#endif
12121212
#if LIBCURL_VERSION_NUM >= 0x071001 /* Available since 7.16.1 CURLVERSION_FOURTH */
12131213
if (d->iconv_ver_num) {
1214-
add_assoc_long (&feature_version, "iconv", d->iconv_ver_num);
1214+
add_assoc_long (&features_version, "iconv", d->iconv_ver_num);
12151215
}
12161216
#endif
12171217
#if LIBCURL_VERSION_NUM >= 0x071001 /* Available since 7.16.1 CURLVERSION_FOURTH */
12181218
if (d->libssh_version) {
1219-
add_assoc_string (&feature_version, "libssh", d->libssh_version);
1219+
add_assoc_string (&features_version, "libssh", d->libssh_version);
12201220
}
12211221
#endif
12221222
#if LIBCURL_VERSION_NUM >= 0x073900 /* Available since 7.57.0 CURLVERSION_FIFTH */
12231223
if (d->brotli_version) {
1224-
add_assoc_string (&feature_version, "brotli", d->brotli_version);
1224+
add_assoc_string (&features_version, "brotli", d->brotli_version);
12251225
}
12261226
#endif
12271227
#if LIBCURL_VERSION_NUM >= 0x074200 /* Available since 7.66.0 CURLVERSION_SIXTH */
12281228
if (d->nghttp2_version) {
1229-
add_assoc_string (&feature_version, "nghttp2", d->nghttp2_version);
1229+
add_assoc_string (&features_version, "nghttp2", d->nghttp2_version);
12301230
}
12311231
#endif
12321232
#if LIBCURL_VERSION_NUM >= 0x074200 /* Available since 7.66.0 CURLVERSION_SIXTH */
12331233
if (d->quic_version) {
1234-
add_assoc_string (&feature_version, "quic", d->quic_version);
1234+
add_assoc_string (&features_version, "quic", d->quic_version);
12351235
}
12361236
#endif
12371237
#if LIBCURL_VERSION_NUM >= 0x074800 /* Available since 7.72.0 CURLVERSION_EIGHTH */
12381238
if (d->zstd_version) {
1239-
add_assoc_string (&feature_version, "zstd", d->zstd_version);
1239+
add_assoc_string (&features_version, "zstd", d->zstd_version);
12401240
}
12411241
#endif
12421242
#if LIBCURL_VERSION_NUM >= 0x074b00 /* Available since 7.75.0 CURLVERSION_NINTH */
12431243
if (d->hyper_version) {
1244-
add_assoc_string (&feature_version, "hyper", d->hyper_version);
1244+
add_assoc_string (&features_version, "hyper", d->hyper_version);
12451245
}
12461246
#endif
12471247
#if LIBCURL_VERSION_NUM >= 0x074d00 /* Available since 7.77.0 CURLVERSION_TENTH */
12481248
if (d->gsasl_version) {
1249-
add_assoc_string (&feature_version, "gsasl", d->gsasl_version);
1249+
add_assoc_string (&features_version, "gsasl", d->gsasl_version);
12501250
}
12511251
#endif
12521252
#if LIBCURL_VERSION_NUM >= 0x080800 /* Available since 8.8.0 CURLVERSION_TWELFTH */
12531253
if (d->rtmp_version) {
1254-
add_assoc_string (&feature_version, "rtmp", d->rtmp_version);
1254+
add_assoc_string (&features_version, "rtmp", d->rtmp_version);
12551255
}
12561256
#endif
1257-
CAAZ("feature_versions", &feature_version);
1257+
CAAZ("features_versions", &features_version);
12581258
}
12591259
/* }}} */
12601260

0 commit comments

Comments
 (0)