summaryrefslogtreecommitdiff
path: root/ext/gd/tests/imagechar_error2.phpt
diff options
context:
space:
mode:
authorMark <mrandall@digitellinc.com>2019-09-27 19:47:24 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2019-09-30 15:14:02 +0200
commit8aad466c42b5feabc7565856eb006c326f35382f (patch)
tree74f64a61a8c0fda49efb3a3000d53299105e5c2f /ext/gd/tests/imagechar_error2.phpt
parentc0a54f41b3e889de229d9ff7d96c420a7b9abaf6 (diff)
downloadphp-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.phpt21
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