cvs: php4 / run-tests.php

From: Date: Sun, 03 Nov 2002 15:42:59 +0000
Subject: cvs: php4 / run-tests.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-15753@lists.php.net to get a copy of this message
iliaa Sun Nov 3 10:42:59 2002 EDT Modified files: /php4 run-tests.php Log: 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. Index: php4/run-tests.php diff -u php4/run-tests.php:1.111 php4/run-tests.php:1.112 --- php4/run-tests.php:1.111 Sun Nov 3 05:52:19 2002 +++ php4/run-tests.php Sun Nov 3 10:42:59 2002 @@ -706,7 +706,7 @@ { 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;

« previous php.cvs (#15753) next »