文件操作 - 001_imagick_readimage.phpt
返回文件管理
返回主菜单
删除本文件
文件: /usr/local/src/imagick/tests/001_imagick_readimage.phpt
编辑文件内容
--TEST-- Imagick::readImage test --SKIPIF-- <?php require_once(dirname(__FILE__) . '/skipif.inc'); ?> --FILE-- <?php print "--- Catch exception with try/catch\n"; $imagick = new Imagick(); try { $imagick->readImage('foo.jpg'); } catch (ImagickException $e) { echo "got exception"; } ?> --EXPECTF-- --- Catch exception with try/catch got exception
修改文件时间
将文件时间修改为当前时间的前一年
删除文件