mirror of
https://github.com/php/php-src.git
synced 2025-01-09 04:24:06 +08:00
19 lines
261 B
PHP
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
|