cvs: php-src(PHP_5_2) /ext/zip/tests bug38943_2.phpt
| From: | Felipe Pena | Date: | Wed, 12 Nov 2008 17:29:50 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/zip/tests bug38943_2.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-54219@lists.php.net to get a copy of this message | ||
felipe Wed Nov 12 17:29:50 2008 UTC
Modified files: (Branch: PHP_5_2)
/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.2.2.2&r2=1.2.2.3&diff_format=u
Index: php-src/ext/zip/tests/bug38943_2.phpt
diff -u php-src/ext/zip/tests/bug38943_2.phpt:1.2.2.2 php-src/ext/zip/tests/bug38943_2.phpt:1.2.2.3
--- php-src/ext/zip/tests/bug38943_2.phpt:1.2.2.2 Wed Nov 12 11:59:26 2008
+++ php-src/ext/zip/tests/bug38943_2.phpt Wed Nov 12 17:29:50 2008
@@ -2,9 +2,9 @@
#38943, properties in extended class cannot be set (5.3)
--SKIPIF--
<?php
-/* $Id: bug38943_2.phpt,v 1.2.2.2 2008/11/12 11:59:26 pajoye Exp $ */
+/* $Id: bug38943_2.phpt,v 1.2.2.3 2008/11/12 17:29:50 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