summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Siebels <tim_siebels_aurich@yahoo.de>2014-09-12 15:04:32 +0200
committerStanislav Malyshev <stas@php.net>2014-11-23 17:12:37 -0800
commit5351ecbfca18a86b44e5cadef67a2d6fc153a907 (patch)
treef5a658fc119848179e83ef8cc6bdc1724bf4fac2
parent03dcf66f9a204a2158a266f5bb739295dfb73ee5 (diff)
downloadphp-git-5351ecbfca18a86b44e5cadef67a2d6fc153a907.tar.gz
Correct two zlib tests to use a string, not a const
-rw-r--r--ext/zlib/tests/gzfile_variation4.phpt2
-rw-r--r--ext/zlib/tests/readgzfile_variation4.phpt2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/zlib/tests/gzfile_variation4.phpt b/ext/zlib/tests/gzfile_variation4.phpt
index 3310231566..9b3128125a 100644
--- a/ext/zlib/tests/gzfile_variation4.phpt
+++ b/ext/zlib/tests/gzfile_variation4.phpt
@@ -2,7 +2,7 @@
Test function gzfile() by substituting argument 1 with float values.
--SKIPIF--
<?php
-if (!extension_loaded(zlib)) die ('skip zlib extension not available in this build');
+if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');
?>
--FILE--
<?php
diff --git a/ext/zlib/tests/readgzfile_variation4.phpt b/ext/zlib/tests/readgzfile_variation4.phpt
index 00211f7dfe..32f434cba2 100644
--- a/ext/zlib/tests/readgzfile_variation4.phpt
+++ b/ext/zlib/tests/readgzfile_variation4.phpt
@@ -2,7 +2,7 @@
Test function readgzfile() by substituting argument 1 with float values.
--SKIPIF--
<?php
-if (!extension_loaded(zlib)) die ('skip zlib extension not available in this build');
+if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');
?>
--FILE--
<?php