Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slightly incorrect output for "Example #1 Arithmetic Operations on Character Variables" #2082

Closed
francisohara24 opened this issue Dec 14, 2022 · 4 comments

Comments

@francisohara24
Copy link

From manual page: https://php.net/language.operators.increment


Output for Example #1 Arithmetic Operations on Character Variables is slightly incorrect.
First line of output should be "== Alphabets ==" not "== Characters==".

Code:
image

Output:
image

@cmb69
Copy link
Member

cmb69 commented Dec 15, 2022

Yeah, that example is obviously wrong. I don't think that the term "alphabets" is correct, though. While that matches ctype_alpha(), isn't the proper term just "letters"? @Crell, @Girgias?

@Girgias
Copy link
Member

Girgias commented Dec 15, 2022

I think so? Or using "English alphabet" could also work as letters like é are not affected.

@Crell
Copy link
Contributor

Crell commented Dec 15, 2022

"Alphabetic strings" vs "Alphanumeric strings"? Since the presence/absence of a digit seems to be the relevant factor here.

@cmb69 cmb69 closed this as completed in 99ef982 Dec 16, 2022
@cmb69
Copy link
Member

cmb69 commented Dec 16, 2022

Thank you!

claudepache pushed a commit to claudepache/php-doc-en that referenced this issue Jun 1, 2023
We fix the wording in the explanation, too.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants