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
12
12
. Fixed bug #74878 (Data race in ZTS builds). (Nikita)
13
13
14
14
- EXIF:
15
+ . Deprecated the read_exif_data() alias. (Kalle)
15
16
. Fixed bug #74428 (exif_read_data(): "Illegal IFD size" warning occurs with
16
17
correct exif format). (bradpiccho at gmail dot com, Kalle)
17
18
. 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.
164
164
. The create_function() function has been deprecated, use anonymous functions
165
165
instead.
166
166
. 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.
167
170
168
171
- GD:
169
172
. png2wbmp() and jpeg2wbmp() have been deprecated.
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ ZEND_END_ARG_INFO()
120
120
*/
121
121
const zend_function_entry exif_functions [] = {
122
122
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 )
124
124
PHP_FE (exif_tagname , arginfo_exif_tagname )
125
125
PHP_FE (exif_thumbnail , arginfo_exif_thumbnail )
126
126
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'));
19
19
===Done===
20
20
--EXPECTF--
21
21
*** 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
22
24
Array
23
25
(
24
26
[FileName] => test2.jpg
You can’t perform that action at this time.
0 commit comments