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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Jun 24 23:01:25 2019 UTC