summaryrefslogtreecommitdiff
path: root/tests/output
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2019-12-21 11:58:00 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2019-12-21 11:58:00 +0100
commitdabc28d18245086a68c88d50dfba380ebd60a236 (patch)
tree9f23d7cca41aa9937bfa0043169bf31d1bda5715 /tests/output
parenteff56f83af27c7bf230fc5f62ae2d53c1d092972 (diff)
downloadphp-git-dabc28d18245086a68c88d50dfba380ebd60a236.tar.gz
Fix #78880: Spelling error report
We fix the most often occuring typos according to a recent codespell report[1] in tests, code comments and documentation. [1] <https://fossies.org/linux/test/php-src-master-f8f48ce.191129.tar.gz/codespell.html>.
Diffstat (limited to 'tests/output')
-rw-r--r--tests/output/ob_017.phpt10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/output/ob_017.phpt b/tests/output/ob_017.phpt
index 1dc5fc59be..c6b59cb765 100644
--- a/tests/output/ob_017.phpt
+++ b/tests/output/ob_017.phpt
@@ -1,13 +1,13 @@
--TEST--
-output buffering - stati
+output buffering - statuses
--INI--
opcache.optimization_level=0
--FILE--
<?php
-$stati = array();
+$statuses = array();
function oh($str, $flags) {
- global $stati;
- $stati[] = "$flags: $str";
+ global $statuses;
+ $statuses[] = "$flags: $str";
return $str;
}
ob_start("oh", 3);
@@ -19,7 +19,7 @@ ob_clean();
echo "yes!\n";
echo "no";
ob_end_clean();
-print_r($stati);
+print_r($statuses);
?>
--EXPECT--
yes!