2023-09-20 900次浏览

Minor version of Yii Strings package was released.

In this release:

  • Add CombinedRegexp and MemoizedCombinedRegexp classes optimizes matching of multiple regular expressions.
  • Add methods StringHelper::trim() , StringHelper::ltrim() and StringHelper::rtrim() .
  • Add $strict parameter to Inflector::toSnakeCase() method.
  • Raise required PHP version to 8.0.
  • Using fully-qualified function calls to improve performance.
  • Make minor refactoring.