Commit 8a89014
committed
Coding Standards: Correct casing of
This replaces `Chr()` and `Ord()` with their canonical lowercase forms `chr()` and `ord()`.
This is flagged as a case-sensitivity violation by the upcoming [https://wiki.php.net/rfc/case_sensitive_php PHP 8.6 RFC], which will emit `E_DEPRECATED` for function references that don't match their declared casing. Fixing it now keeps WordPress ahead of the deprecation.
Props Soean.
See #64897.
git-svn-id: https://develop.svn.wordpress.org/trunk@62498 602fd350-edb4-49c9-b593-d223f7449a82chr() and ord() in class-pclzip.php.1 parent 3b36879 commit 8a89014
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3988 | 3988 | | |
3989 | 3989 | | |
3990 | 3990 | | |
3991 | | - | |
| 3991 | + | |
3992 | 3992 | | |
3993 | 3993 | | |
3994 | 3994 | | |
| |||
4616 | 4616 | | |
4617 | 4617 | | |
4618 | 4618 | | |
4619 | | - | |
| 4619 | + | |
4620 | 4620 | | |
4621 | 4621 | | |
4622 | | - | |
| 4622 | + | |
4623 | 4623 | | |
4624 | 4624 | | |
4625 | 4625 | | |
| |||
0 commit comments