summaryrefslogtreecommitdiff
path: root/ext/soap/tests/bugs/bug39815.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/soap/tests/bugs/bug39815.phpt')
-rw-r--r--ext/soap/tests/bugs/bug39815.phpt10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/soap/tests/bugs/bug39815.phpt b/ext/soap/tests/bugs/bug39815.phpt
index 1adc50a2de..b1c031c928 100644
--- a/ext/soap/tests/bugs/bug39815.phpt
+++ b/ext/soap/tests/bugs/bug39815.phpt
@@ -1,9 +1,9 @@
--TEST--
Bug #39815 (to_zval_double() in ext/soap/php_encoding.c is not locale-independent)
--SKIPIF--
-<?php
-require_once('skipif.inc');
-if (!function_exists('setlocale')) die('skip setlocale() not available');
+<?php
+require_once('skipif.inc');
+if (!function_exists('setlocale')) die('skip setlocale() not available');
if (!@setlocale(LC_ALL, 'sv_SE', 'sv_SE.ISO8859-1')) die('skip sv_SE locale not available');
if (!@setlocale(LC_ALL, 'en_US', 'en_US.ISO8859-1')) die('skip en_US locale not available');
?>
@@ -32,9 +32,9 @@ class LocalSoapClient extends SoapClient {
}
}
-$x = new LocalSoapClient(NULL,array('location'=>'test://',
+$x = new LocalSoapClient(NULL,array('location'=>'test://',
'uri'=>'http://testuri.org',
- "trace"=>1));
+ "trace"=>1));
setlocale(LC_ALL,"sv_SE","sv_SE.ISO8859-1");
var_dump($x->test());
echo $x->__getLastResponse();