Skip to content

Commit

Permalink
Fix phpGH-8408: bug68547.phpt fails without multibyte support
Browse files Browse the repository at this point in the history
  • Loading branch information
cmb69 committed Apr 20, 2022
1 parent 2f0918c commit dad5cb4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ext/exif/tests/bug68547.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
--TEST--
Bug #68547 (Exif Header component value check error)
--SKIPIF--
<?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
<?php
if (!extension_loaded('mbstring')) print 'skip mbstring extension not available';
if (!extension_loaded('exif')) print 'skip exif extension not available';
?>
--FILE--
<?php
var_dump(exif_read_data(__DIR__ . DIRECTORY_SEPARATOR . 'bug68547.jpg'));
Expand Down

0 comments on commit dad5cb4

Please sign in to comment.