summaryrefslogtreecommitdiff
path: root/ext/standard/tests/image/iptcembed_001.phpt
blob: feadddea1bf32004c11a6c92b66521c0b403b3c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--TEST--
iptcembed() and wrong file
--FILE--
<?php

$file = dirname(__FILE__).'/iptcembed_001.data';
$fp = fopen($file, "w");
fwrite($fp, "-1-1");
fclose($fp);

var_dump(iptcembed(-1, $file, -1));
unlink($file);

echo "Done\n";
?>
--EXPECTF--
bool(false)
Done