summaryrefslogtreecommitdiff
path: root/ext/gd
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2005-12-26 21:41:37 +0000
committerPierre Joye <pajoye@php.net>2005-12-26 21:41:37 +0000
commit53973f97d0b27e9b9d33408c4b7270e251b2f801 (patch)
treedcd285699df79fea243929cfab6c410db0ffeb1f /ext/gd
parent422d9180d181e19ccc584e1e59e54a5902025216 (diff)
downloadphp-git-53973f97d0b27e9b9d33408c4b7270e251b2f801.tar.gz
- check for jpeg support
Diffstat (limited to 'ext/gd')
-rw-r--r--ext/gd/tests/gif.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/tests/gif.phpt b/ext/gd/tests/gif.phpt
index 8535ff72e6..e798d87728 100644
--- a/ext/gd/tests/gif.phpt
+++ b/ext/gd/tests/gif.phpt
@@ -6,7 +6,7 @@ gif in/out
if (!extension_loaded('gd')) {
die("skip gd extension not available.");
}
- if (!function_exists("imagegif") || !function_exists("imagecreatefromgif")) {
+ if (!function_exists("imagegif") || !function_exists("imagecreatefromgif") || !function_exists('imagecreatefromjpeg')) {
die("skip gif support unavailable");
}
?>