From 8aad466c42b5feabc7565856eb006c326f35382f Mon Sep 17 00:00:00 2001 From: Mark Date: Fri, 27 Sep 2019 19:47:24 +0200 Subject: Convert GD Resources to objects --- ext/posix/tests/posix_ttyname_error_wrongparams.phpt | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'ext/posix/tests') diff --git a/ext/posix/tests/posix_ttyname_error_wrongparams.phpt b/ext/posix/tests/posix_ttyname_error_wrongparams.phpt index 6dcb1d324d..4ff7aaf3fe 100644 --- a/ext/posix/tests/posix_ttyname_error_wrongparams.phpt +++ b/ext/posix/tests/posix_ttyname_error_wrongparams.phpt @@ -3,6 +3,7 @@ Test posix_ttyname() with wrong parameters --DESCRIPTION-- Gets the absolute path to the current terminal device that is open on a given file descriptor. Source code: ext/posix/posix.c + --CREDITS-- Falko Menge, mail at falko-menge dot de PHP Testfest Berlin 2009-05-10 @@ -11,18 +12,16 @@ PHP Testfest Berlin 2009-05-10 if (!extension_loaded('posix')) { die('SKIP - POSIX extension not available'); } - if (!extension_loaded('gd')) { - die('SKIP - GD extension not available'); - } - if (!function_exists('imagecreate')) { - die('SKIP - Function imagecreate() not available'); + + if (!function_exists('curl_init')) { + die('SKIP - Function curl_init() not available'); } ?> --FILE-- getMessage(), "\n"; } -- cgit v1.2.1