mental notes

This commit is contained in:
Simon Wisselink
2022-09-22 23:32:10 +02:00
parent 489d647841
commit c2b31f7a90

View File

@@ -14,6 +14,8 @@ const SMARTY_HELPER_FUNCTIONS_LOADED = true;
/**
* Converts the first characters in $string to uppercase (A-Z) if it is an ASCII lowercase character (a-z).
*
* May not be required when running PHP8.2+: https://wiki.php.net/rfc/strtolower-ascii
*
* @param $string
*
* @return string
@@ -25,6 +27,8 @@ function smarty_ucfirst_ascii($string): string {
/**
* Converts all uppercase ASCII characters (A-Z) in $string to lowercase (a-z).
*
* May not be required when running PHP8.2+: https://wiki.php.net/rfc/strtolower-ascii
*
* @param $string
*
* @return string
@@ -36,6 +40,8 @@ function smarty_strtolower_ascii($string): string {
/**
* Converts all lowercase ASCII characters (a-z) in $string to uppercase (A-Z).
*
* May not be required when running PHP8.2+: https://wiki.php.net/rfc/strtolower-ascii
*
* @param $string
*
* @return string