Skip to content

Commit 17c27cb

Browse files
committed
Add extension test
1 parent c53f1d9 commit 17c27cb

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/globals/ext-tests/iconv.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
assert(function_exists('iconv'));
6+
assert(iconv('UTF-8', 'CP437', 'foo') === 'foo');

src/globals/test-extensions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
2121
$extensions = match (PHP_OS_FAMILY) {
2222
'Linux', 'Darwin' => 'iconv',
23-
'Windows' => 'amqp,apcu',
23+
'Windows' => 'amqp,apcu,iconv',
2424
};
2525

2626
// If you want to test lib-suggests feature with extension, add them below (comma separated, example `libwebp,libavif`).

0 commit comments

Comments
 (0)