zoe Sun Jun 14 14:28:12 2009 UTC
Modified files:
/phpruntests/src/configuration rtIniAsCommandLineArgs.php
Log:
another bug fix
http://cvs.php.net/viewvc.cgi/phpruntests/src/configuration/rtIniAsCommandLineArgs.php?r1=1.5&r2=1.6&diff_format=u
Index: phpruntests/src/configuration/rtIniAsCommandLineArgs.php
diff -u phpruntests/src/configuration/rtIniAsCommandLineArgs.php:1.5
phpruntests/src/configuration/rtIniAsCommandLineArgs.php:1.6
--- phpruntests/src/configuration/rtIniAsCommandLineArgs.php:1.5Sun Jun
14 10:39:02 2009
+++ phpruntests/src/configuration/rtIniAsCommandLineArgs.phpSun Jun 14
14:28:12 2009
@@ -89,22 +89,11 @@
if ($parts[0] === $string) {
return false;
}
-
-//test for ==, which is allowed
-if (strncmp($parts[1], '=', 1) === 0) {
-return true;
-}
-
-//test for a=b=c
-if (strstr($parts[1], '=') == false) {
-return true;
-} else {
-return false;
-}
+return true;
}
/**
- * Removes spaces from ini settings, "a = b" is retirned as "a=b"
+ * Removes spaces from ini settings, "a = b" is returned as "a=b"
*
* @param string - ini setting
* @return string - ini setting with any spaces removed
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php