#41918 [NEW]: Random languages

From: Date: Sat, 07 Jul 2007 04:39:16 +0000
Subject: #41918 [NEW]: Random languages
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-35902@lists.php.net to get a copy of this message
From: ae at instinctive dot de Operating system: PHP version: Irrelevant PHP Bug Type: Website problem Bug description: Random languages Description: ------------ PHP.net is showing manual pages for PHP functions in random languages, with several languages scattered all over the page. WTF??? This has been like that for at least several days... (cookies are activated, so this is not a duplicate) Reproduce code: --------------- Firefox 1.5.0.12 on Windows XP Professional, Windows XP German version and set to German (apart from keyboard layout, which is set to English), browser language set to English.. however, no french or portuguese ;) Expected result: ---------------- A page displayed in one language only (that I can actually read ;) Actual result: -------------- view this page in English array_filter (PHP 4 >= 4.0.6, PHP 5) array_filter -- Filtreaz� elementele unui tablou utiliz�nd o func�ie callback Descriere array array_filter ( array input [, mixed callback]) array_filter() returnez� un tablou con�in�nd toate elementele parametrului input filtrate �n concordan�� cu func�ia callback. Dac� input este un tablou asociativ, indec�ii sunt p�stra�i. Exemplu 1. Exemplu de utilizare array_filter() function odd($var) { return ($var % 2 == 1); } function even($var) { return ($var % 2 == 0); } $array1 = array ("a"=>1, "b"=>2, "c"=>3, "d"=>4, "e"=>5); $array2 = array (6, 7, 8, 9, 10, 11, 12); echo "Odd :\n"; print_r(array_filter($array1, "odd")); echo "Even:\n"; print_r(array_filter($array2, "even")); Rezultatul va fi: Odd : Array ( [a] => 1 [c] => 3 [e] => 5 ) Even: Array ( [0] => 6 [2] => 8 [4] => 10 [6] => 12 ) Notã: �n locul numelui unei func�ii, poate fi folosit un tablou con�in�nd o referin�� c�tre un obiect sau numele unei metode. Utilizatorii ar trebui s� nu schimbe tabloul din func�ia callback. De exemplu, ad�ugarea/�tergerea unui element sau anularea tabloului la care se aplic� array_filter(). Dac� tabloul ini�ial este schimbat comportamentul func�iei este impredictibil. Vezi, de asemenea, array_map() �i array_reduce(). -- Edit bug report at http://bugs.php.net/?id=41918&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41918&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41918&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41918&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41918&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41918&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41918&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=41918&r=needscript Try newer version: http://bugs.php.net/fix.php?id=41918&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41918&r=support Expected behavior: http://bugs.php.net/fix.php?id=41918&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41918&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41918&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41918&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41918&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41918&r=dst IIS Stability: http://bugs.php.net/fix.php?id=41918&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41918&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41918&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41918&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=41918&r=mysqlcfg

« previous php.mirrors (#35902) next »