cvs: php4 / run-tests.php
| From: | Marcus B�rger | Date: | Thu, 03 Oct 2002 18:25:33 +0000 |
| Subject: | cvs: php4 / run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-14505@lists.php.net to get a copy of this message | ||
helly Thu Oct 3 14:25:33 2002 EDT
Modified files:
/php4 run-tests.php
Log:
$val not in first param to sprintf
Index: php4/run-tests.php
diff -u php4/run-tests.php:1.57 php4/run-tests.php:1.58
--- php4/run-tests.php:1.57 Wed Oct 2 18:31:26 2002
+++ php4/run-tests.php Thu Oct 3 14:25:30 2002
@@ -474,8 +474,8 @@
$o1 = array_diff($o,$w);
$w2 = array();
$o2 = array();
- foreach($w1 as $idx => $val) $w2[sprintf("%03d<",$idx)] = sprintf("%03d-
$val", $idx+1);
- foreach($o1 as $idx => $val) $o2[sprintf("%03d>",$idx)] = sprintf("%03d+
$val", $idx+1);
+ foreach($w1 as $idx => $val) $w2[sprintf("%03d<",$idx)] = sprintf("%03d-
", $idx+1).$val;
+ foreach($o1 as $idx => $val) $o2[sprintf("%03d>",$idx)] = sprintf("%03d+
", $idx+1).$val;
$diff = array_merge($w2, $o2);
ksort($diff);
return implode("\r\n", $diff);