2023-04-09 13:24:52 +08:00

8 lines
133 B
PHP

<?php
declare(strict_types=1);
$info = gd_info();
$true = ($true ?? true) && ($info['PNG Support'] ?? false);
exit($true ? 0 : 1);