/hphp/test/zend/good/ext/exif/tests/exif_read_exif_data_basic.php
PHP | 11 lines | 6 code | 2 blank | 3 comment | 0 complexity | d7b21e63ae70a82a6c307f48b5d9eac6 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause, BSD-3-Clause, MPL-2.0-no-copyleft-exception, MIT, LGPL-2.0, Apache-2.0
- <?hh
- /* Prototype : array read_exif_data ( string $filename [, string $sections [, bool $arrays [, bool $thumbnail ]]] )
- * Description: Alias of exif_read_data()
- * Source code: ext/exif/exif.c */
- <<__EntryPoint>> function main(): void {
- echo "*** Testing read_exif_data() : basic functionality ***\n";
- print_r(read_exif_data(dirname(__FILE__).'/test2.jpg'));
- echo "===Done===";
- }