|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79512 This function, I realize
Submitted: 2020-04-23 09:19 UTC Modified: 2020-05-03 04:22 UTC
From: chikymanzanares at gmail dot com Assigned: cmb (profile)
Status: No Feedback Package: Unknown/Other Function
PHP Version: 7.4.5 OS:
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.
Block user comment
Status: Assign to:
Bug Type:
From: chikymanzanares at gmail dot com
New email:
PHP Version: OS:


 [2020-04-23 09:19 UTC] chikymanzanares at gmail dot com
This function, I realized failed for tildes

Test script:
if (ctype_upper ( 'Ó' ))
    echo 'upper';
} else {
    echo 'not upper';

not upper

this is uppercase in Spanish language por instance.

Expected result:
 I expect



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-04-23 09:26 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-04-23 09:26 UTC]
From the manual[1]:

| Returns TRUE if every character in text is an uppercase letter
| in the current locale.

Do you have a proper locale set?

[1] <>
 [2020-05-03 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 18:01:28 2024 UTC