cvs: php-src(PHP_5_2) /ext/filter/tests 033_run.inc

From: Date: Thu, 09 Nov 2006 16:38:28 +0000
Subject: cvs: php-src(PHP_5_2) /ext/filter/tests 033_run.inc
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-41420@lists.php.net to get a copy of this message
nlopess Thu Nov 9 16:38:28 2006 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/filter/tests 033_run.inc Log: fix test for non English guys http://cvs.php.net/viewvc.cgi/php-src/ext/filter/tests/033_run.inc?r1=1.1.2.4&r2=1.1.2.5&diff_format=u Index: php-src/ext/filter/tests/033_run.inc diff -u php-src/ext/filter/tests/033_run.inc:1.1.2.4 php-src/ext/filter/tests/033_run.inc:1.1.2.5 --- php-src/ext/filter/tests/033_run.inc:1.1.2.4 Tue Oct 3 02:16:53 2006 +++ php-src/ext/filter/tests/033_run.inc Thu Nov 9 16:38:28 2006 @@ -1,7 +1,12 @@ <?php +if (function_exists('setlocale')) { + setlocale(LC_ALL, 'C'); +} + function test($data) { return strtoupper($data); } + $data = array( "PHP", "1",

« previous php.cvs (#41420) next »