Lines Matching refs:exit
42 else { echo "error cant write $file".PHP_EOL;exit(1); }
45 if ($md5!="07dd8594450e8c18ab8a79d7cb4573c7") { echo "md5 error".PHP_EOL;exit(1); }
48 if ($width!=1) { echo "width error".PHP_EOL;exit(1); }
49 if ($height!=1) { echo "height error".PHP_EOL;exit(1); }
50 if ($type!=2) { echo "type error".PHP_EOL;exit(1); }
51 if (!isset($info["APP0"])) { echo "APP0 error".PHP_EOL;exit(1); }
64 …se64_encode($iptc))!="7056c4b3060f92a4f9e5b7d0caa61859") { echo "iptc md5 error".PHP_EOL;exit(1); }
70 if ($content === false) {echo "iptcembed error".PHP_EOL;exit(1); }
73 else { echo "error cant write $file2".PHP_EOL;exit(1); }
79 if ($ret===false) { echo "getimagesize error".PHP_EOL;exit(1); }
81 if ($width!=1) { echo "width error".PHP_EOL;exit(1); }
82 if ($height!=1) { echo "height error".PHP_EOL;exit(1); }
83 if ($type!=2) { echo "type error".PHP_EOL;exit(1); }
84 if (!isset($info["APP0"])) { echo "APP0 error".PHP_EOL;exit(1); }
85 if (!isset($info["APP13"])) { echo "APP13 error".PHP_EOL;exit(1); }
102 #clean before exit
105 if ($error==0) { echo "OK".PHP_EOL;exit(0);}