PageRenderTime 41ms CodeModel.GetById 8ms RepoModel.GetById 0ms app.codeStats 0ms

/hphp/test/zend/good/ext/exif/tests/exif_read_exif_data_basic.php

http://github.com/facebook/hiphop-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
  1. <?hh
  2. /* Prototype : array read_exif_data ( string $filename [, string $sections [, bool $arrays [, bool $thumbnail ]]] )
  3. * Description: Alias of exif_read_data()
  4. * Source code: ext/exif/exif.c */
  5. <<__EntryPoint>> function main(): void {
  6. echo "*** Testing read_exif_data() : basic functionality ***\n";
  7. print_r(read_exif_data(dirname(__FILE__).'/test2.jpg'));
  8. echo "===Done===";
  9. }