]> granicus.if.org Git - php/commitdiff
Correct two zlib tests to use a string, not a const
authorTim Siebels <tim_siebels_aurich@yahoo.de>
Fri, 12 Sep 2014 13:04:32 +0000 (15:04 +0200)
committerTim Siebels <tim_siebels_aurich@yahoo.de>
Fri, 12 Sep 2014 13:04:32 +0000 (15:04 +0200)
ext/zlib/tests/gzfile_variation4.phpt
ext/zlib/tests/readgzfile_variation4.phpt

index 3310231566a8881ff1c9d2b163a5a60c71368477..9b3128125a5110908f722a57d9adf4cfc54f2dad 100644 (file)
@@ -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
index 00211f7dfef1167f45f3e8ba326f3c9d28d4ce72..32f434cba2d69661ab22c8214138c2fdfea12054 100644 (file)
@@ -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