[PHP-CVS] cvs: phpruntests /src/configuration rtIniAsCommandLineArgs.php

2009-06-14 Thread Zoe Slattery
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



[PHP-CVS] cvs: phpruntests /src/configuration rtIniAsCommandLineArgs.php

2009-06-14 Thread Zoe Slattery
zoe Sun Jun 14 10:39:02 2009 UTC

  Modified files:  
/phpruntests/src/configuration  rtIniAsCommandLineArgs.php 
  Log:
  fix to allow double equals in ini setting
  
http://cvs.php.net/viewvc.cgi/phpruntests/src/configuration/rtIniAsCommandLineArgs.php?r1=1.4&r2=1.5&diff_format=u
Index: phpruntests/src/configuration/rtIniAsCommandLineArgs.php
diff -u phpruntests/src/configuration/rtIniAsCommandLineArgs.php:1.4 
phpruntests/src/configuration/rtIniAsCommandLineArgs.php:1.5
--- phpruntests/src/configuration/rtIniAsCommandLineArgs.php:1.4Mon May 
25 08:56:23 2009
+++ phpruntests/src/configuration/rtIniAsCommandLineArgs.phpSun Jun 14 
10:39:02 2009
@@ -90,9 +90,9 @@
 return false;
 }
 
-//test for ==
+//test for ==, which is allowed
 if (strncmp($parts[1], '=', 1) === 0) {
-return false;
+return true;
 }
 
 //test for a=b=c



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php