summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/trim_basic.phpt
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-10-14 17:23:43 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-10-14 19:44:14 +0200
commit17ccbeec3242b80f84fbf6b3acd58421ef003b02 (patch)
tree8fed8d7515c6603fd4a50eb0f8177883bc6da336 /ext/standard/tests/strings/trim_basic.phpt
parentcc7215f48f66982f0b7799c47d8fa4c09a32a3c7 (diff)
downloadphp-git-17ccbeec3242b80f84fbf6b3acd58421ef003b02.tar.gz
Trim trailing whitespace in *.phpt
Diffstat (limited to 'ext/standard/tests/strings/trim_basic.phpt')
-rw-r--r--ext/standard/tests/strings/trim_basic.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/tests/strings/trim_basic.phpt b/ext/standard/tests/strings/trim_basic.phpt
index 501b477420..08f75846a5 100644
--- a/ext/standard/tests/strings/trim_basic.phpt
+++ b/ext/standard/tests/strings/trim_basic.phpt
@@ -1,5 +1,5 @@
--TEST--
-Test trim() function : basic functionality
+Test trim() function : basic functionality
--FILE--
<?php
@@ -17,10 +17,10 @@ $binary = "\x0A\x0DExample string\x0A\x0D";
echo "\n-- Trim string with all white space characters --\n";
var_dump(trim($text));
-echo "\n-- Trim non-whitespace from a string --\n";
+echo "\n-- Trim non-whitespace from a string --\n";
var_dump(trim($hello, "=!"));
-echo "\n-- Trim some non-white space characters from a string --\n";
+echo "\n-- Trim some non-white space characters from a string --\n";
var_dump(trim($hello, "Hdle"));
echo "\n-- Trim the ASCII control characters at the beginning of a string --\n";