From a853c36e13923776c6bd9437b06df88b1f812479 Mon Sep 17 00:00:00 2001 From: Gina Peter Banyard Date: Wed, 15 Jul 2026 16:04:57 +0100 Subject: [PATCH] exif: change usage of php_error_docref1() to php_error_docref() As arguments to functions are now handled globally via an INI setting --- ext/exif/exif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/exif/exif.c b/ext/exif/exif.c index 31030e12fbf1..810ce30f38d0 100644 --- a/ext/exif/exif.c +++ b/ext/exif/exif.c @@ -4938,7 +4938,7 @@ PHP_FUNCTION(exif_read_data) exif_discard_imageinfo(&ImageInfo); #ifdef EXIF_DEBUG - php_error_docref1(NULL, (Z_TYPE_P(stream) == IS_RESOURCE ? "" : Z_STRVAL_P(stream)), E_NOTICE, "Done"); + php_error_docref(NULL, E_NOTICE, "Done"); #endif } /* }}} */ @@ -5026,7 +5026,7 @@ PHP_FUNCTION(exif_thumbnail) exif_discard_imageinfo(&ImageInfo); #ifdef EXIF_DEBUG - php_error_docref1(NULL, (Z_TYPE_P(stream) == IS_RESOURCE ? "" : Z_STRVAL_P(stream)), E_NOTICE, "Done"); + php_error_docref(NULL, E_NOTICE, "Done"); #endif } /* }}} */