From: Ilia Alshanetsky Date: Sun, 3 Nov 2002 15:42:59 +0000 (+0000) Subject: Fixed ini argument parsing. We now support ini options with = in the argument, X-Git-Tag: php-4.3.0RC1~319 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a078f6ecc62f92a202b89afd24262593e4ae73a6;p=php Fixed ini argument parsing. We now support ini options with = in the argument, such as the one being used in session test #21, which is once again working properly. --- diff --git a/run-tests.php b/run-tests.php index 4c15938788..24d6bf3b5b 100755 --- a/run-tests.php +++ b/run-tests.php @@ -706,7 +706,7 @@ function settings2array($settings, &$ini_settings) { foreach($settings as $setting) { if (strpos($setting, '=')!==false) { - $setting = explode("=", $setting); + $setting = explode("=", $setting, 2); $name = trim(strtolower($setting[0])); $value = trim($setting[1]); $ini_settings[$name] = $value;