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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 00:00:01 2026 UTC