source: src/router/php7/ext/exif/tests/exif_imagetype_basic-mb.phpt @ 31874

Last change on this file since 31874 was 31874, checked in by brainslayer, 3 months ago

update php

File size: 608 bytes
Line 
1--TEST--
2Check for exif_imagetype default behaviour
3--SKIPIF--
4<?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
5--INI--
6output_handler=
7zlib.output_compression=0
8--FILE--
9<?php
10
11/* Prototype  : int exif_imagetype  ( string $filename  )
12 * Description: Determine the type of an image
13 * Source code: ext/exif/exif.c
14*/
15echo "*** Testing exif_imagetype() : basic functionality ***\n";
16
17var_dump(exif_imagetype(dirname(__FILE__).'/test2私はガラスを食べられたす.jpg'));
18?>
19===Done===
20--EXPECT--
21*** Testing exif_imagetype() : basic functionality ***
22int(2)
23===Done===
Note: See TracBrowser for help on using the repository browser.