php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #66054 omitted case-sensitivity notice
Submitted: 2013-11-07 22:04 UTC Modified: 2013-11-08 07:39 UTC
From: laszlo dot heredy at gmail dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 5.4.21 OS: Fedora 19 schroedingers cat
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: laszlo dot heredy at gmail dot com
New email:
PHP Version: OS:

 

 [2013-11-07 22:04 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-11-08 07:39 UTC] krakjoe@php.net
-Status: Open +Status: Not a bug
 [2013-11-08 07:39 UTC] krakjoe@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 20:01:35 2024 UTC