mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-02 17:34:26 +02:00
mental notes
This commit is contained in:
@@ -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).
|
* 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
|
* @param $string
|
||||||
*
|
*
|
||||||
* @return 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).
|
* 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
|
* @param $string
|
||||||
*
|
*
|
||||||
* @return 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).
|
* 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
|
* @param $string
|
||||||
*
|
*
|
||||||
* @return string
|
* @return string
|
||||||
|
Reference in New Issue
Block a user