summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Lopes <nlopess@php.net>2006-11-09 16:38:28 +0000
committerNuno Lopes <nlopess@php.net>2006-11-09 16:38:28 +0000
commitfb06fa19e35e7725935d128205a989c87f05cc0d (patch)
treebe4ac2ce6d9751b13a2dfe17822edd4f564889dd
parent98dd25e04ced19a8040ecc420c7b5a84bea4ea8e (diff)
downloadphp-git-fb06fa19e35e7725935d128205a989c87f05cc0d.tar.gz
fix test for non English guys
-rw-r--r--ext/filter/tests/033_run.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/filter/tests/033_run.inc b/ext/filter/tests/033_run.inc
index c77d888ac4..e3b67387ca 100644
--- a/ext/filter/tests/033_run.inc
+++ b/ext/filter/tests/033_run.inc
@@ -1,7 +1,12 @@
<?php
+if (function_exists('setlocale')) {
+ setlocale(LC_ALL, 'C');
+}
+
function test($data) {
return strtoupper($data);
}
+
$data = array(
"PHP",
"1",