diff options
author | Mark <mrandall@digitellinc.com> | 2019-09-27 19:47:24 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-09-30 15:14:02 +0200 |
commit | 8aad466c42b5feabc7565856eb006c326f35382f (patch) | |
tree | 74f64a61a8c0fda49efb3a3000d53299105e5c2f /ext/gd/tests/imagechar_error2.phpt | |
parent | c0a54f41b3e889de229d9ff7d96c420a7b9abaf6 (diff) | |
download | php-git-8aad466c42b5feabc7565856eb006c326f35382f.tar.gz |
Convert GD Resources to objects
Diffstat (limited to 'ext/gd/tests/imagechar_error2.phpt')
-rw-r--r-- | ext/gd/tests/imagechar_error2.phpt | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/ext/gd/tests/imagechar_error2.phpt b/ext/gd/tests/imagechar_error2.phpt deleted file mode 100644 index a829282307..0000000000 --- a/ext/gd/tests/imagechar_error2.phpt +++ /dev/null @@ -1,21 +0,0 @@ ---TEST-- -Testing error on non-image resource parameter 1 of imagechar() of GD library ---CREDITS-- -Rafael Dohms <rdohms [at] gmail [dot] com> -#testfest PHPSP on 2009-06-20 ---SKIPIF-- -<?php - if (!extension_loaded("gd")) die("skip GD not present"); -?> ---FILE-- -<?php - -try { - $result = imagechar(tmpfile(), 1, 5, 5, 'C', 1); -} catch (TypeError $e) { - echo $e->getMessage(), "\n"; -} - -?> ---EXPECT-- -imagechar(): supplied resource is not a valid Image resource |