cvs: php-src / run-tests.php

From: Date: Sun, 10 Aug 2003 11:46:03 +0000
Subject: cvs: php-src / run-tests.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-23062@lists.php.net to get a copy of this message
helly Sun Aug 10 07:46:03 2003 EDT Modified files: /php-src run-tests.php Log: Simplify Index: php-src/run-tests.php diff -u php-src/run-tests.php:1.175 php-src/run-tests.php:1.176 --- php-src/run-tests.php:1.175 Sun Aug 10 00:23:02 2003 +++ php-src/run-tests.php Sun Aug 10 07:46:03 2003 @@ -1082,16 +1082,12 @@ function settings2params(&$ini_settings) { - if (count($ini_settings)) { - $settings = ''; - foreach($ini_settings as $name => $value) { - $value = addslashes($value); - $settings .= " -d \"$name=$value\""; - } - $ini_settings = $settings; - } else { - $ini_settings = ''; + $settings = ''; + foreach($ini_settings as $name => $value) { + $value = addslashes($value); + $settings .= " -d \"$name=$value\""; } + $ini_settings = $settings; } function compute_summary()

« previous php.cvs (#23062) next »