mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +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
|
||||
if (function_exists('setlocale')) {
|
||||
setlocale(LC_ALL, 'C');
|
||||
}
|
||||
|
||||
function test($data) {
|
||||
return strtoupper($data);
|
||||
}
|
||||
|
||||
$data = array(
|
||||
"PHP",
|
||||
"1",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue