summaryrefslogtreecommitdiff
path: root/ext/mbstring/tests/bug43841.phpt
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-02-03 22:52:20 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-02-03 22:52:20 +0100
commitf8d795820e780a6322e054c26c581570613c14f0 (patch)
tree99d3ae01ce564752807341c5743863b4c92513f8 /ext/mbstring/tests/bug43841.phpt
parentd2cb200e10ada6fa44c54a29292bb4665728fff0 (diff)
downloadphp-git-f8d795820e780a6322e054c26c581570613c14f0.tar.gz
Reindent phpt files
Diffstat (limited to 'ext/mbstring/tests/bug43841.phpt')
-rw-r--r--ext/mbstring/tests/bug43841.phpt40
1 files changed, 20 insertions, 20 deletions
diff --git a/ext/mbstring/tests/bug43841.phpt b/ext/mbstring/tests/bug43841.phpt
index cb24ece04a..4a1da505d4 100644
--- a/ext/mbstring/tests/bug43841.phpt
+++ b/ext/mbstring/tests/bug43841.phpt
@@ -22,26 +22,26 @@ $string_mb = "日本語テキストです。0123456789。";
$needle = "。";
foreach ($offsets as $i) {
- echo "\n-- Offset is $i --\n";
- echo "Multibyte String:\n";
- try {
- var_dump( mb_strrpos($string_mb, $needle, $i, 'UTF-8') );
- } catch (\ValueError $e) {
- echo $e->getMessage() . \PHP_EOL;
- }
- echo "ASCII String:\n";
- echo "mb_strrpos:\n";
- try {
- var_dump(mb_strrpos('This is na English ta', 'a', $i));
- } catch (\ValueError $e) {
- echo $e->getMessage() . \PHP_EOL;
- }
- echo "strrpos:\n";
- try {
- var_dump(strrpos('This is na English ta', 'a', $i));
- } catch (\ValueError $e) {
- echo $e->getMessage() . \PHP_EOL;
- }
+ echo "\n-- Offset is $i --\n";
+ echo "Multibyte String:\n";
+ try {
+ var_dump( mb_strrpos($string_mb, $needle, $i, 'UTF-8') );
+ } catch (\ValueError $e) {
+ echo $e->getMessage() . \PHP_EOL;
+ }
+ echo "ASCII String:\n";
+ echo "mb_strrpos:\n";
+ try {
+ var_dump(mb_strrpos('This is na English ta', 'a', $i));
+ } catch (\ValueError $e) {
+ echo $e->getMessage() . \PHP_EOL;
+ }
+ echo "strrpos:\n";
+ try {
+ var_dump(strrpos('This is na English ta', 'a', $i));
+ } catch (\ValueError $e) {
+ echo $e->getMessage() . \PHP_EOL;
+ }
}
?>
--EXPECT--