diff options
author | Pierre Joye <pajoye@php.net> | 2006-08-13 19:24:17 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2006-08-13 19:24:17 +0000 |
commit | 32f20cc217e7127a3f475e1a2d98720dd8950b7a (patch) | |
tree | aa33714810914f8d4b6ca0b13eb628d7e4a84e49 | |
parent | baff4e0ab5c831a5780d0a12b3080994965dd2dc (diff) | |
download | php-git-32f20cc217e7127a3f475e1a2d98720dd8950b7a.tar.gz |
- MFH: remove dl() usage
-rw-r--r-- | ext/zip/examples/create.php | 3 | ||||
-rw-r--r-- | ext/zip/examples/extract.php | 4 | ||||
-rw-r--r-- | ext/zip/examples/fopen.php | 4 |
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) { |