Commit 19860880d23 for php.net

commit 19860880d234da95362d0f41d185d81cc722f529
Author: Gina Peter Banyard <girgias@php.net>
Date:   Wed Jul 15 16:51:03 2026 +0100

    exif: change usage of php_error_docref1() to php_error_docref() (#22747)

    As arguments to functions are now handled globally via an INI setting.

diff --git a/ext/exif/exif.c b/ext/exif/exif.c
index 31030e12fbf..810ce30f38d 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 ? "<stream>" : 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 ? "<stream>" : Z_STRVAL_P(stream)), E_NOTICE, "Done");
+	php_error_docref(NULL, E_NOTICE, "Done");
 #endif
 }
 /* }}} */