From 30ebc9ef1db1258d73352b56b649c0ae05f7e6df Mon Sep 17 00:00:00 2001 From: ggiunta Date: Wed, 6 May 2009 11:42:32 +0000 Subject: [PATCH] - remove testing for older versions of php git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@15 013ecfd8-0664-425d-a759-9c98391dc3f9 --- test/verify_compat.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/test/verify_compat.php b/test/verify_compat.php index 2b37c34..77553c2 100644 --- a/test/verify_compat.php +++ b/test/verify_compat.php @@ -29,15 +29,10 @@ function phpxmlrpc_verify_compat($mode='client') $ver = phpversion(); $tests['php_version'] = array(); $tests['php_version']['description'] = 'PHP version found: '.$ver.".\n\n"; - if (version_compare($ver, '4') < 0) + if (version_compare($ver, '5') < 0) { $tests['php_version']['status'] = 0; - $tests['php_version']['description'] .= 'This version of PHP is not compatible with the PHP XMLRPC library. Please upgrade to 4.2 or later'; - } - else if (version_compare($ver, '4.2') < 0) - { - $tests['php_version']['status'] = 1; - $tests['php_version']['description'] .= "This version of PHP is partially compatible with the PHP XMLRPC library.\nIn order to use the library, you will need to make sure the files from the compat directory are available on your server"; + $tests['php_version']['description'] .= 'This version of PHP is not compatible with this release of the PHP XMLRPC library. Please upgrade to php 5 or later'; } else if (version_compare($ver, '5.0.3') < 0) { -- 2.43.0