$files = array('/a_path/titi.txt'); //create a list of files to be extracted here
$zip = new ZipArchive;
$res = $zip->open('test_im.zip');
if ($res === TRUE) {
$zip->extractTo('/my/destination/dir/', $files);
$zip->close();
echo 'ok';
} else {
echo 'failed';
}