File tree Expand file tree Collapse file tree 4 files changed +7
-1
lines changed
Expand file tree Collapse file tree 4 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ PHP NEWS
1212 . Fixed bug #74878 (Data race in ZTS builds). (Nikita)
1313
1414- EXIF:
15+ . Deprecated the read_exif_data() alias. (Kalle)
1516 . Fixed bug #74428 (exif_read_data(): "Illegal IFD size" warning occurs with
1617 correct exif format). (bradpiccho at gmail dot com, Kalle)
1718 . Fixed bug #72819 (EXIF thumbnails not read anymore). (Kalle)
Original file line number Diff line number Diff line change @@ -164,6 +164,9 @@ PHP 8.0.
164164 . The create_function() function has been deprecated, use anonymous functions
165165 instead.
166166 . The each() function has been deprecated, use a foreach loop instead.
167+
168+ - EXIF:
169+ . The read_exif_data() alias have been deprecated, use exif_read_data() instead.
167170
168171- GD:
169172 . png2wbmp() and jpeg2wbmp() have been deprecated.
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ ZEND_END_ARG_INFO()
120120 */
121121const zend_function_entry exif_functions [] = {
122122 PHP_FE (exif_read_data , arginfo_exif_read_data )
123- PHP_FALIAS (read_exif_data , exif_read_data , arginfo_exif_read_data )
123+ PHP_DEP_FALIAS (read_exif_data , exif_read_data , arginfo_exif_read_data )
124124 PHP_FE (exif_tagname , arginfo_exif_tagname )
125125 PHP_FE (exif_thumbnail , arginfo_exif_thumbnail )
126126 PHP_FE (exif_imagetype , arginfo_exif_imagetype )
Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ print_r(read_exif_data(dirname(__FILE__).'/test2.jpg'));
1919===Done===
2020--EXPECTF--
2121*** Testing read_exif_data() : basic functionality ***
22+
23+ Deprecated: Function read_exif_data() is deprecated in %sexif_read_exif_data_basic.php on line 9
2224Array
2325(
2426 [FileName] => test2.jpg
You can’t perform that action at this time.
0 commit comments