diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2017-02-02 23:07:25 +0100 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2017-02-03 21:02:52 +0100 |
| commit | 06a034016280435feb80eea4d674ca5688ab4c06 (patch) | |
| tree | b9860ce0cacadef78cf3ed1fc250f3048aee4793 /server-tests.php | |
| parent | 6ba720662084306906e125d8f690146d7b86b303 (diff) | |
| download | php-git-06a034016280435feb80eea4d674ca5688ab4c06.tar.gz | |
Deprecate each()
Diffstat (limited to 'server-tests.php')
| -rwxr-xr-x | server-tests.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server-tests.php b/server-tests.php index 91784249f5..6e1620f1a8 100755 --- a/server-tests.php +++ b/server-tests.php @@ -901,7 +901,7 @@ class testHarness { } $sum_results['SKIPPED'] += $this->ignored_by_ext; $percent_results = array(); - while (list($v,$n) = each($sum_results)) { + foreach ($sum_results as $v => $n) { $percent_results[$v] = (100.0 * $n) / $n_total; } |
