summaryrefslogtreecommitdiff
path: root/ext/zip/examples/im.php
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zip/examples/im.php')
-rw-r--r--ext/zip/examples/im.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/ext/zip/examples/im.php b/ext/zip/examples/im.php
deleted file mode 100644
index 3721434054..0000000000
--- a/ext/zip/examples/im.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-/* $Id$ */
-$im = imagecreatefromgif('zip://' . dirname(__FILE__) . '/test_im.zip#pear_item.gif');
-imagepng($im, 'a.png');
-
-$z = new ZipArchive();
-$z->open(dirname(__FILE__) . '/test_im.zip');
-$im_string = $z->getFromName("pear_item.gif");
-$im = imagecreatefromstring($im_string);
-imagepng($im, 'b.png');
-