php-src/ext/standard/tests/image/iptcembed_001.phpt
2007-05-10 12:23:25 +00:00

19 lines
261 B
PHP

--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