From 80b8e5fbd91763fd10b43403093cbed990ba43d7 Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Wed, 12 Dec 2018 17:13:40 +0000 Subject: [PATCH] Default value of $mode parameter of imagecropauto() is changed as of PHP 7.4.0 Cf. - git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346308 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/image/functions/imagecropauto.xml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/reference/image/functions/imagecropauto.xml b/reference/image/functions/imagecropauto.xml index 68677e60f4..092925846e 100644 --- a/reference/image/functions/imagecropauto.xml +++ b/reference/image/functions/imagecropauto.xml @@ -12,7 +12,7 @@ resourceimagecropauto resourceimage - intmode-1 + intmodeIMG_CROP_DEFAULT floatthreshold.5 intcolor-1 @@ -30,8 +30,7 @@ mode - One of the following constants - (-1 corresponds to IMG_CROP_DEFAULT): + One of the following constants: @@ -151,6 +150,15 @@ the same algorithm as system libgd. + + 7.4.0 + + The default value of mode has been changed to + IMG_CROP_AUTO. Formerly, the default value has been + -1 which corresponds to IMG_CROP_DEFAULT, + but passing -1 is now deprecated. + +