]> granicus.if.org Git - php/commitdiff
MFH
authorAntony Dovgal <tony2001@php.net>
Tue, 19 Dec 2006 20:46:56 +0000 (20:46 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 19 Dec 2006 20:46:56 +0000 (20:46 +0000)
ext/soap/tests/bugs/bug39815.phpt

index 71fb407bb599d34fbcfcff30fdbd6d26adb86c7f..9c978285b17105090edd026dc7bff8aae7223ffc 100755 (executable)
@@ -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(){