add readline support

This commit is contained in:
crazywhalecc
2023-04-30 15:43:08 +08:00
parent b3296842b7
commit 2d597ed690
15 changed files with 54 additions and 19 deletions

View File

@@ -2,6 +2,8 @@
declare(strict_types=1);
assert(function_exists('gd_info'));
$info = gd_info();
$true = ($true ?? true) && ($info['PNG Support'] ?? false);
exit($true ? 0 : 1);
assert($info['PNG Support'] ?? false);
assert($info['GIF Create Support'] ?? false);
assert($info['GIF Read Support'] ?? false);