summaryrefslogtreecommitdiff
path: root/ext/exif/tests/bug72603.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/exif/tests/bug72603.phpt')
-rw-r--r--ext/exif/tests/bug72603.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/exif/tests/bug72603.phpt b/ext/exif/tests/bug72603.phpt
index 71d3943446..eacb6ee45a 100644
--- a/ext/exif/tests/bug72603.phpt
+++ b/ext/exif/tests/bug72603.phpt
@@ -4,7 +4,7 @@ Bug #72603 (Out of bound read in exif_process_IFD_in_MAKERNOTE)
<?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
--FILE--
<?php
-var_dump(count(exif_read_data(dirname(__FILE__) . "/bug72603.jpeg")));
+var_dump(count(exif_read_data(__DIR__ . "/bug72603.jpeg")));
?>
--EXPECTF--
Warning: exif_read_data(bug72603.jpeg): %s in %s%ebug72603.php on line %d