summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/zip/examples/create.php3
-rw-r--r--ext/zip/examples/extract.php4
-rw-r--r--ext/zip/examples/fopen.php4
3 files changed, 0 insertions, 11 deletions
diff --git a/ext/zip/examples/create.php b/ext/zip/examples/create.php
index a41c8e6d0b..cffacee93b 100644
--- a/ext/zip/examples/create.php
+++ b/ext/zip/examples/create.php
@@ -1,8 +1,5 @@
<?php
error_reporting(E_ALL);
-if (!extension_loaded('zip')) {
- dl('zip.so');
-}
$thisdir = dirname(__FILE__);
unlink("./test112.zip");
$zip = new ZipArchive();
diff --git a/ext/zip/examples/extract.php b/ext/zip/examples/extract.php
index 5276b0dca5..696502ba12 100644
--- a/ext/zip/examples/extract.php
+++ b/ext/zip/examples/extract.php
@@ -1,8 +1,4 @@
<?php
-if (!extension_loaded('zip')) {
- dl('zip.so');
-}
-
$zip = new ZipArchive();
echo $zip->filename . "\n";
diff --git a/ext/zip/examples/fopen.php b/ext/zip/examples/fopen.php
index 32357f3c08..5af37b1ab3 100644
--- a/ext/zip/examples/fopen.php
+++ b/ext/zip/examples/fopen.php
@@ -1,8 +1,4 @@
<?php
-if (!extension_loaded('zip')) {
- dl('zip.so');
-}
-
$fp = fopen('zip://' . dirname(__FILE__) . '/test.zip#test', 'r');
if (!$fp) {