mirror of
https://github.com/php/php-src.git
synced 2025-08-20 09:24:05 +02:00
add check for setlocale() and sv_SE to SKIPIF section
This commit is contained in:
parent
7d966063f6
commit
a38ccf3969
1 changed files with 5 additions and 1 deletions
|
@ -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(){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue