diff options
| author | Antony Dovgal <tony2001@php.net> | 2006-12-19 20:46:56 +0000 |
|---|---|---|
| committer | Antony Dovgal <tony2001@php.net> | 2006-12-19 20:46:56 +0000 |
| commit | 949a0934c8f35afe8f5c0aee1e622864db19ef93 (patch) | |
| tree | f3f307b5e9f35472688a0f8f5158e2bf601c0ea5 | |
| parent | 16ea2ee6400990c4c21983d424eac6d77366d9c7 (diff) | |
| download | php-git-949a0934c8f35afe8f5c0aee1e622864db19ef93.tar.gz | |
MFH
| -rwxr-xr-x | ext/soap/tests/bugs/bug39815.phpt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/soap/tests/bugs/bug39815.phpt b/ext/soap/tests/bugs/bug39815.phpt index 71fb407bb5..9c978285b1 100755 --- a/ext/soap/tests/bugs/bug39815.phpt +++ b/ext/soap/tests/bugs/bug39815.phpt @@ -1,7 +1,11 @@ --TEST-- Bug #39815 (to_zval_double() in ext/soap/php_encoding.c is not locale-independent) --SKIPIF-- -<?php require_once('skipif.inc'); ?> +<?php +require_once('skipif.inc'); +if (!function_exists('setlocale')) die('skip setlocale() not available'); +if (!@setlocale(LC_ALL, 'sv_SE')) die('skip sv_SE locale not available'); +?> --FILE-- <?php function test(){ |
