DEV Community

Discussion on: 5 bad habits to lose in PHP

Collapse
klnjmm profile image
Jimmy Klein Author

String interpolation works to in this case. 👍
I am used to (s)printf when
I want to translate string which contains variables with gettext and also to format float.