summaryrefslogtreecommitdiff
path: root/ext/gettext
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gettext')
-rw-r--r--ext/gettext/tests/bug66267.phpt18
-rw-r--r--ext/gettext/tests/gettext_bind_textdomain_codeset-retval.phpt6
2 files changed, 12 insertions, 12 deletions
diff --git a/ext/gettext/tests/bug66267.phpt b/ext/gettext/tests/bug66267.phpt
index 30a839390b..749f4cd1a2 100644
--- a/ext/gettext/tests/bug66267.phpt
+++ b/ext/gettext/tests/bug66267.phpt
@@ -27,17 +27,17 @@ $domain = 'domain';
$loc = ["de_DE", "fr_FR", "en_US"];
foreach ($loc as $l) {
- putenv("LC_ALL=$l");
- setlocale(LC_ALL, $l);
+ putenv("LC_ALL=$l");
+ setlocale(LC_ALL, $l);
- $path = realpath(__DIR__ . DIRECTORY_SEPARATOR . "66265");
- bindtextdomain($domain, $path);
- bind_textdomain_codeset($domain, "UTF-8");
- textdomain($domain);
+ $path = realpath(__DIR__ . DIRECTORY_SEPARATOR . "66265");
+ bindtextdomain($domain, $path);
+ bind_textdomain_codeset($domain, "UTF-8");
+ textdomain($domain);
- echo 'LC_ALL=', getenv('LC_ALL'), "\n";
- echo 'hello=', _('hello'), "\n";
- echo "\n";
+ echo 'LC_ALL=', getenv('LC_ALL'), "\n";
+ echo 'hello=', _('hello'), "\n";
+ echo "\n";
}
?>
diff --git a/ext/gettext/tests/gettext_bind_textdomain_codeset-retval.phpt b/ext/gettext/tests/gettext_bind_textdomain_codeset-retval.phpt
index 822e412d83..498568294a 100644
--- a/ext/gettext/tests/gettext_bind_textdomain_codeset-retval.phpt
+++ b/ext/gettext/tests/gettext_bind_textdomain_codeset-retval.phpt
@@ -8,10 +8,10 @@ test if bind_textdomain_codeset() returns correct value
?>
--FILE--
<?php
- var_dump(bind_textdomain_codeset(false,false));
- var_dump(bind_textdomain_codeset('messages', "UTF-8"));
+ var_dump(bind_textdomain_codeset(false,false));
+ var_dump(bind_textdomain_codeset('messages', "UTF-8"));
- echo "Done\n";
+ echo "Done\n";
?>
--EXPECT--
bool(false)