]> granicus.if.org Git - php/commitdiff
-skip if not 5.3
authorPierre Joye <pajoye@php.net>
Tue, 11 Aug 2009 13:09:11 +0000 (13:09 +0000)
committerPierre Joye <pajoye@php.net>
Tue, 11 Aug 2009 13:09:11 +0000 (13:09 +0000)
ext/zip/tests/bug38943_2.phpt

index 8672d9d32913844bd1ca09da59f5ce1165a9fedf..45f5e2aca2e85ebb0b0a84f6a790a7405c8aa7aa 100644 (file)
@@ -4,7 +4,9 @@
 <?php
 /* $Id$ */
 if(!extension_loaded('zip')) die('skip');
-if (version_compare(PHP_VERSION, "5.3", "<")) die('skip test for5.3+ only');
+if (version_compare(PHP_VERSION, "5.3", "<")) die('skip test for 5.3+ only');
+if (version_compare(PHP_MAJOR_VERSION, "6", ">=")) die('skip test for 5.x only');
+
 ?>
 --FILE--
 <?php