PageRenderTime 42ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

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

http://github.com/facebook/hiphop-php
PHP | 8 lines | 4 code | 0 blank | 4 comment | 0 complexity | c94080cc96bf919d765e31a0050b6e32 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. /*
  3. test1.jpg is a 1*1 image that does not contain any Exif/Comment information
  4. test2.jpg is the same image but contains Exif/Comment information and a
  5. copy of test1.jpg as a thumbnail. */
  6. <<__EntryPoint>> function main(): void {
  7. print_r(exif_read_data(dirname(__FILE__).'/test2.jpg'));
  8. }