z ज़िप संग्रह के अंदर एक भी जुर्माना पढ़ने के लिए, कोड इस प्रकार है -
$handle = fopen('zip://test.zip#test.txt', 'r'); $result = ''; while (!feof($handle)) { $result .= fread($handle, 8192); } fclose($handle); echo $result;
आउटपुट ज़िप फ़ाइल की सामग्री होगी।