Doc #66054 [Opn->Nab]: omitted case-sensitivity notice
| From: | krakjoe@php.net | Date: | Fri, 08 Nov 2013 07:39:03 +0000 |
| Subject: | Doc #66054 [Opn->Nab]: omitted case-sensitivity notice | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-10588@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66054&edit=1
ID: 66054
Updated by: krakjoe@php.net
Reported by: laszlo dot heredy at gmail dot com
Summary: omitted case-sensitivity notice
-Status: Open
+Status: Not a bug
Type: Documentation Problem
Package: Documentation problem
Operating System: Fedora 19 schroedingers cat
PHP Version: 5.4.21
Block user comment: N
Private report: N
New Comment:
It should be expected that string functions are case sensitive for them to be useful, at all.
It is therefore not necessary to state explicitly that a string function is case sensitive, it is
only necessary to state when string functions are case insensitive.
Previous Comments:
------------------------------------------------------------------------
[2013-11-07 22:04:58] laszlo dot heredy at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.strpos#refsect1-function.strpos-description
---
I reached the strpos page from a link on the stripos page that read 'unlike _strpos_, stripos
is case-insensivive'. There is no reciprocal link on strpos man page.
The strpos manual page makes no mention of its case-sensitivity either: because it would be helpful,
and for continuity's sake, I feel it would be appropriate to for the strpos page to contain a
recpirocal link to stripos with similar verbiage:
'Unlike _stripos_, strpos is case-sensitive'. <-- suggested addition to strpos
Thank you!
Test script:
---------------
N/A. This is a report for missing documentation regarding strpos() case-sensitivity.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66054&edit=1