B
B
BonBon Slick2018-02-05 09:45:25
PHP
BonBon Slick, 2018-02-05 09:45:25

Difference mb_convert_case vs mb_strtolower?

Symfony uses

return mb_convert_case($str, MB_CASE_LOWER, 'UTF-8');

and in Laravel
return mb_strtolower($value, 'UTF-8');
what is the difference and how noticeable?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Sanych, 2018-02-05
@BonBonSlick

The only difference is versatility. It is more convenient for someone to change a constant, and for someone an entire function

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question