summaryrefslogtreecommitdiff
path: root/ext/phar/tests/tar/files/make_invalid_tar.php.inc
blob: 895977bf2fbc360957101918bd657090462696ed (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);
}
}