mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-07 08:45:40 +08:00
Add extension test
This commit is contained in:
6
src/globals/ext-tests/iconv.php
Normal file
6
src/globals/ext-tests/iconv.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
assert(function_exists('iconv'));
|
||||
assert(iconv('UTF-8', 'CP437', 'foo') === 'foo');
|
||||
Reference in New Issue
Block a user