]> granicus.if.org Git - php/commitdiff
The version check was completely bogus in this test
authorRasmus Lerdorf <rasmus@php.net>
Mon, 27 Jul 2009 23:37:40 +0000 (23:37 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Mon, 27 Jul 2009 23:37:40 +0000 (23:37 +0000)
ext/zip/tests/bug38943.phpt

index 02985848dc2e32521500abc602b2101c9b619c81..9bb2181ebf9db27ff00082b3cabd6d2526966d79 100644 (file)
@@ -3,8 +3,9 @@
 --SKIPIF--
 <?php
 /* $Id$ */
-if(!extension_loaded('zip')) die('skip');
-if (!defined('PHP_VERSION_MAJOR')) die('skip');
+if (!extension_loaded('zip')) die('skip');
+if (!defined('PHP_MAJOR_VERSION')) die('skip');
+if (PHP_MAJOR_VERSION==5 && PHP_MINOR_VERSION>2) die('skip');
 ?>
 --FILE--
 <?php