summaryrefslogtreecommitdiff
path: root/ext/phar/tests/tar/files/make_invalid_tar.php.inc
blob: 2ccdf00201c026986ae9f37a069bf2a14f2dcc9d (plain)
1
2
3
4
5
6
7
8
9
<?php
include dirname(__FILE__) . '/tarmaker.php.inc';
class corrupter extends tarmaker {
function close()
{
    fwrite($this->tmp, (binary)'oopsie');
    fclose($this->tmp);
}
}