php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #68010 [DE] Documentation is wrong
Submitted: 2014-09-11 19:37 UTC Modified: 2020-04-01 16:03 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: ani dot tuster12 at hotmail dot de Assigned: cmb (profile)
Status: Closed Package: Translation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ani dot tuster12 at hotmail dot de
New email:
PHP Version: OS:

 

 [2014-09-11 19:37 UTC] ani dot tuster12 at hotmail dot de
Description:
------------
---
From manual page: http://www.php.net/function.strrpos
---

The german documentation for the "offset" parameter is wrong. It says the search will STOP this number of characters counted from the beginning of the string but the search will START at that position. Furthermore it is not mentioned that the search will be performed backwards if the value is negative.

Corrected:

Wenn angegeben, wird die Suche diese Anzahl an Zeichen vom Anfang des
Strings aus gezählt beginnen. Wenn der Wert negativ ist, startet die Suche
stattdessen diese Anzahl an Zeichen vom Ende des Strings aus gezählt und es wird
rückwärts gesucht.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-09-26 03:03 UTC] marc at ermshaus dot org
I can confirm this. The report is valid, the proposed translation corresponds with the original version in English.
 [2014-12-27 20:15 UTC] sobak@php.net
-Summary: german documentation is wrong +Summary: [DE] Documentation is wrong
 [2020-04-01 16:03 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2020-04-01 16:03 UTC] cmb@php.net
The manual page has been improved a while ago, so I think this
ticket can be closed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 04:01:27 2024 UTC