diff options
| author | SVN Migration <svn@php.net> | 2003-02-27 17:43:39 +0000 |
|---|---|---|
| committer | SVN Migration <svn@php.net> | 2003-02-27 17:43:39 +0000 |
| commit | 078bcec0997ad0e07b720c43cc9e6d0e046a75ab (patch) | |
| tree | 36cb0f6be2ef078fe3374de8c087b93ecf82f812 /ext/zlib/tests/001.phpt | |
| parent | fd61f69077f6156ca71dde60ecfd9ed9765a02db (diff) | |
| download | php-git-PHP-5.tar.gz | |
This commit was manufactured by cvs2svn to create branch 'PHP_5'.PHP-5
Diffstat (limited to 'ext/zlib/tests/001.phpt')
| -rw-r--r-- | ext/zlib/tests/001.phpt | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/ext/zlib/tests/001.phpt b/ext/zlib/tests/001.phpt deleted file mode 100644 index 40b84c6f07..0000000000 --- a/ext/zlib/tests/001.phpt +++ /dev/null @@ -1,26 +0,0 @@ ---TEST-- -gzdeflate()/gzinflate() ---SKIPIF-- -<?php if (!extension_loaded("zlib")) print "skip"; ?> ---POST-- ---GET-- ---FILE-- -<?php -$original = str_repeat("hallo php",4096); -$packed=gzdeflate($original); -echo strlen($packed)." ".strlen($original)."\n"; -$unpacked=gzinflate($packed); -if (strcmp($original,$unpacked)==0) echo "Strings are equal"; - -echo "\n"; -$original = 'aaaaaaaaaaaaaaa'; -$packed=gzdeflate($original); -echo strlen($packed)." ".strlen($original)."\n"; -$unpacked=gzinflate($packed); -if (strcmp($original,$unpacked)==0) echo "Strings are equal"; -?> ---EXPECT-- -100 36864 -Strings are equal -5 15 -Strings are equal
\ No newline at end of file |
