mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-07 08:45:40 +08:00
add readline support
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user