Doc #75174 [NEW]: translation on php.net

From: Date: Fri, 08 Sep 2017 11:34:18 +0000
Subject: Doc #75174 [NEW]: translation on php.net
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-14959@lists.php.net to get a copy of this message
From: kovtun dot anton at gmail dot com Operating system: Any PHP version: 7.1.9 Package: Translation problem Bug Type: Documentation Problem Bug description:translation on php.net Description: ------------ As far as I understand here we have a translation problem http://php.net/manual/ru/language.types.string.php#example-53 For now result of the test is Символ с индексом -2 равен n. Изменение символа на позиции -3 на 'o' дает следующую строку: ыекщтпю but I assume that it should be Символ с индексом -2 равен n. Изменение символа на позиции -3 на 'o' дает следующую строку: strong Test script: --------------- <?php $string = 'string'; echo "Символ с индексом -2 равен $string[-2].", PHP_EOL; $string[-3] = 'o'; echo "Изменение символа на позиции -3 на 'o' дает следующую строку: $string.", PHP_EOL; ?> Expected result: ---------------- Символ с индексом -2 равен n. Изменение символа на позиции -3 на 'o' дает следующую строку: strong Actual result: -------------- Символ с индексом -2 равен n. Изменение символа на позиции -3 на 'o' дает следующую строку: ыекщтпю -- Edit bug report at https://bugs.php.net/bug.php?id=75174&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75174&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75174&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75174&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=75174&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=75174&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=75174&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=75174&r=needscript Try newer version: https://bugs.php.net/fix.php?id=75174&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=75174&r=support Expected behavior: https://bugs.php.net/fix.php?id=75174&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=75174&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=75174&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=75174&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75174&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=75174&r=dst IIS Stability: https://bugs.php.net/fix.php?id=75174&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=75174&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=75174&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=75174&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=75174&r=mysqlcfg

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