com php-src: Correct two zlib tests to use a string, not a const: ext/zlib/tests/gzfile_variation4.phpt ext/zlib/tests/re adgzfile_variation4.phpt

From: Date: Fri, 12 Sep 2014 13:04:32 +0000
Subject: com php-src: Correct two zlib tests to use a string, not a const: ext/zlib/tests/gzfile_variation4.phpt ext/zlib/tests/re adgzfile_variation4.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-83275@lists.php.net to get a copy of this message
Commit: 1392643048f1fa6a8b3ecebd41203c76aea25f91 Author: Tim Siebels <tim_siebels_aurich@yahoo.de> Fri, 12 Sep 2014 15:04:32 +0200 Parents: 4db2181d4e5fad2ece558dcd72e4842e4f5b8d70 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1392643048f1fa6a8b3ecebd41203c76aea25f91 Log: Correct two zlib tests to use a string, not a const Changed paths: M ext/zlib/tests/gzfile_variation4.phpt M ext/zlib/tests/readgzfile_variation4.phpt Diff: diff --git a/ext/zlib/tests/gzfile_variation4.phpt b/ext/zlib/tests/gzfile_variation4.phpt index 3310231..9b31281 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 00211f7..32f434c 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

« previous php.cvs (#83275) next »