|  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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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: Wed Jun 19 00:01:28 2024 UTC