rasmus                                   Mon, 27 Jul 2009 23:37:40 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=286433

Log:
The version check was completely bogus in this test

Changed paths:
    U   php/php-src/branches/PHP_5_2/ext/zip/tests/bug38943.phpt

Modified: php/php-src/branches/PHP_5_2/ext/zip/tests/bug38943.phpt
===================================================================
--- php/php-src/branches/PHP_5_2/ext/zip/tests/bug38943.phpt    2009-07-27 
23:23:39 UTC (rev 286432)
+++ php/php-src/branches/PHP_5_2/ext/zip/tests/bug38943.phpt    2009-07-27 
23:37:40 UTC (rev 286433)
@@ -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

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to