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: 2014-12-27 20:15 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:
Status: Open Package: Translation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
49 - 3 = ?
Subscribe to this entry?

 
 [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
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Fri Sep 20 14:01:28 2019 UTC