diff options
author | Steph Fox <sfox@php.net> | 2008-02-12 16:42:35 +0000 |
---|---|---|
committer | Steph Fox <sfox@php.net> | 2008-02-12 16:42:35 +0000 |
commit | 2ad96985c76309facd14e0425d46dbd17eadb73e (patch) | |
tree | f214f16454571404dec3ce169dc802aa33c24d50 /ext/phar/tests/tar/files/make_invalid_tar.php.inc | |
parent | 85e641ebb4ce9b96fed93f269128e251f24fbfed (diff) | |
download | php-git-2ad96985c76309facd14e0425d46dbd17eadb73e.tar.gz |
- it helps if you add the new files :)
Diffstat (limited to 'ext/phar/tests/tar/files/make_invalid_tar.php.inc')
-rw-r--r-- | ext/phar/tests/tar/files/make_invalid_tar.php.inc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/phar/tests/tar/files/make_invalid_tar.php.inc b/ext/phar/tests/tar/files/make_invalid_tar.php.inc new file mode 100644 index 0000000000..c18bd199b3 --- /dev/null +++ b/ext/phar/tests/tar/files/make_invalid_tar.php.inc @@ -0,0 +1,9 @@ +<?php +include dirname(__FILE__) . '/tarmaker.php.inc'; +class corrupter extends tarmaker { +function close() +{ + fwrite($this->tmp, 'oopsie'); + fclose($this->tmp); +} +}
\ No newline at end of file |