felipe          Wed Nov 12 17:16:51 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/zip/tests      bug38943_2.phpt 
  Log:
  - Fix test
  
http://cvs.php.net/viewvc.cgi/php-src/ext/zip/tests/bug38943_2.phpt?r1=1.1.2.1&r2=1.1.2.2&diff_format=u
Index: php-src/ext/zip/tests/bug38943_2.phpt
diff -u php-src/ext/zip/tests/bug38943_2.phpt:1.1.2.1 
php-src/ext/zip/tests/bug38943_2.phpt:1.1.2.2
--- php-src/ext/zip/tests/bug38943_2.phpt:1.1.2.1       Tue Nov  4 13:24:39 2008
+++ php-src/ext/zip/tests/bug38943_2.phpt       Wed Nov 12 17:16:51 2008
@@ -2,9 +2,9 @@
 #38943, properties in extended class cannot be set (5.3)
 --SKIPIF--
 <?php
-/* $Id: bug38943_2.phpt,v 1.1.2.1 2008/11/04 13:24:39 pajoye Exp $ */
+/* $Id: bug38943_2.phpt,v 1.1.2.2 2008/11/12 17:16:51 felipe Exp $ */
 if(!extension_loaded('zip')) die('skip');
-if (!defined('PHP_VERSION_MAJOR')) die('skip test for5.3+ only');
+if (version_compare(PHP_VERSION, "5.3", "<")) die('skip test for5.3+ only');
 ?>
 --FILE--
 <?php



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

Reply via email to