Skip to content

Commit 39f3726

Browse files
author
crashdev226
committed
Add a test to check that HTTP2 is supported with curl
See brefphp/aws-lambda-layers#42
1 parent e0c12f2 commit 39f3726

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_2_extensions.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@
7979
'json' => function_exists('json_encode'),
8080
'bcmath' => function_exists('bcadd'),
8181
'ctype' => function_exists('ctype_digit'),
82+
// https://github.com/brefphp/aws-lambda-layers/issues/42
83+
'curl-with-http2' => defined('CURL_HTTP_VERSION_2'),
8284
'dom' => class_exists(\DOMDocument::class),
8385
'exif' => function_exists('exif_imagetype'),
8486
'fileinfo' => function_exists('finfo_file'),

0 commit comments

Comments
 (0)