Doc #78523 [Opn]: Wrong Russin translation for function array_keys

From: Date: Tue, 10 Sep 2019 07:39:29 +0000
Subject: Doc #78523 [Opn]: Wrong Russin translation for function array_keys
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-16932@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78523&edit=1 ID: 78523 User updated by: tecdoc at ukr dot net Reported by: tecdoc at ukr dot net Summary: Wrong Russin translation for function array_keys Status: Open Type: Documentation Problem Package: *Languages/Translation PHP Version: Irrelevant Block user comment: N Private report: N New Comment: $test = Array ( 11 => 14, 10 => 9, 12 => 7, 13 => 7, 14 => 4, 15 => 6, ); $search_value = max($test); // 14 $maxs = array_keys($test, $search_value); var_dump($maxs); Previous Comments: ------------------------------------------------------------------------ [2019-09-10 07:35:03] tecdoc at ukr dot net Description: ------------ --- From manual page: https://php.net/function.array-keys --- Если указан параметр search_value, функция возвращает только ключи, совпадающие с этим параметром. - ЭТО НЕ ПРАВИЛЬНО!!!!! !!!Не ключи совпадают с search_value, а значения!!! Нужно както так ================== Если указан параметр search_value, функция возвращает ключи у которых значения совпадают с этим параметром. Вот оригинал. If a search_value is specified, then only the keys ***for that value*** are returned. Otherwise, all the keys from the array are returned. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=78523&edit=1

« previous php.doc.bugs (#16932) next »