cvs: php-src(PHP_5_3) /ext/zip/tests bug38943_2.phpt
| From: | Felipe Pena | Date: | Wed, 12 Nov 2008 17:16:51 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/zip/tests bug38943_2.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-54215@lists.php.net to get a copy of this message | ||
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