svn: /php/php-src/branches/PHP_5_2/ext/zip/tests/ bug38943.phpt

From: Date: Mon, 27 Jul 2009 23:37:40 +0000
Subject: svn: /php/php-src/branches/PHP_5_2/ext/zip/tests/ bug38943.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-59866@lists.php.net to get a copy of this message
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

« previous php.cvs (#59866) next »