1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

ext/gd/tests: imagerotate() is always available

Following 59ec80c5, the imagerotate() function is always available. We
may therefore remove its function_exists() checks without harm.
This commit is contained in:
Michael Orlitzky
2023-12-30 16:13:40 -05:00
committed by Gina Peter Banyard
parent 0b8466f268
commit 7f8adf8a82
3 changed files with 0 additions and 11 deletions

View File

@@ -4,7 +4,6 @@ Bug #24155 (gdImageRotate270 rotation problem).
gd
--SKIPIF--
<?php
if (!function_exists("imagerotate")) die("skip requires imagerotate function");
if (!(imagetypes() & IMG_PNG)) {
die("skip No PNG support");
}

View File

@@ -2,10 +2,6 @@
Bug #39366 (imagerotate does not respect alpha with angles>45)
--EXTENSIONS--
gd
--SKIPIF--
<?php
if (!function_exists("imagerotate")) die("skip requires imagerotate function");
?>
--FILE--
<?php

View File

@@ -2,12 +2,6 @@
imagerotate() overflow with negative numbers
--EXTENSIONS--
gd
--SKIPIF--
<?php
if (!function_exists('imagerotate')) {
die("skip imagerotate() not available.");
}
?>
--FILE--
<?php