mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
Added test for non existent file for iptcembed
This commit is contained in:
parent
eaddc9f7d9
commit
f28bf785fd
1 changed files with 12 additions and 0 deletions
12
ext/standard/tests/image/iptcembed_003.phpt
Normal file
12
ext/standard/tests/image/iptcembed_003.phpt
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
--TEST--
|
||||||
|
iptcembed() unable to open file
|
||||||
|
--CREDITS--
|
||||||
|
Mark Niebergall <mbniebergall@gmail.com>
|
||||||
|
PHP TestFest 2017 - UPHPU
|
||||||
|
--FILE--
|
||||||
|
<?php
|
||||||
|
var_dump(iptcembed(-1, __DIR__ . '/iptcembed/DOES_NOT_EXIST.ERR', -1));
|
||||||
|
?>
|
||||||
|
--EXPECTF--
|
||||||
|
Warning: iptcembed(): Unable to open %s in %s on line %d
|
||||||
|
bool(false)
|
Loading…
Add table
Add a link
Reference in a new issue