summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2006-08-13 19:24:17 +0000
committerPierre Joye <pajoye@php.net>2006-08-13 19:24:17 +0000
commit32f20cc217e7127a3f475e1a2d98720dd8950b7a (patch)
treeaa33714810914f8d4b6ca0b13eb628d7e4a84e49
parentbaff4e0ab5c831a5780d0a12b3080994965dd2dc (diff)
downloadphp-git-32f20cc217e7127a3f475e1a2d98720dd8950b7a.tar.gz
- MFH: remove dl() usage
-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) {