<?PHP
	include("tar.php");
	$destination = taropen("testenv/output.tar", 'w');
	tarsavetofile(tarcreatefromfile('dirtest'), $destination);
	tarclose($destination);
PHP?>