[php-src] master: exif: change usage of php_error_docref1() to php_error_docref() (#22747)
Gina Peter Banyard via GitHub <[email protected]>
| Newsgroups | gmane.comp.php.cvs.general |
|---|---|
| Message-ID | <[email protected]> |
Author: Gina Peter Banyard (Girgias) Committer: GitHub (web-flow) Pusher: Girgias Date: 2026-07-15T16:51:03+01:00 Commit: https://github.com/php/php-src/commit/19860880d234da95362d0f41d185d81cc722f529 Raw diff: https://github.com/php/php-src/commit/19860880d234da95362d0f41d185d81cc722f529.diff exif: change usage of php_error_docref1() to php_error_docref() (#22747) As arguments to functions are now handled globally via an INI setting. Changed paths: M ext/exif/exif.c Diff: 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 ? "<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 } /* }}} */