mirror of
https://github.com/php/php-src.git
synced 2025-08-20 09:24:05 +02:00
fix test for non English guys
This commit is contained in:
parent
98dd25e04c
commit
fb06fa19e3
1 changed files with 5 additions and 0 deletions
|
@ -1,7 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
|
if (function_exists('setlocale')) {
|
||||||
|
setlocale(LC_ALL, 'C');
|
||||||
|
}
|
||||||
|
|
||||||
function test($data) {
|
function test($data) {
|
||||||
return strtoupper($data);
|
return strtoupper($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
$data = array(
|
$data = array(
|
||||||
"PHP",
|
"PHP",
|
||||||
"1",
|
"1",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue