-
-
Notifications
You must be signed in to change notification settings - Fork 711
Description
Edit: smarty.net shows up in the Google search results before GitHub. There should be something at the top of all Smarty.net documentation pages that says "Ignore this and see the documentation on Github" with a link to the up to date documentation.
Ignore the rest below. This was my confusion based on the smarty.net website.
The deprecation warning for implode says use join instead.
Similarly the deprecation warning for explode says use split instead.
Documentation is here: https://www.smarty.net/docs/en/language.modifiers.tpl
There is no documentation for split or join.
Could someone add documentation for split and join?
Also, I want to echo this ticket: #1098
In PHP, join and split are aliases for implode and explode, yet they work differently in Smarty. That is counterintuitive. At the minimum that needs to be documented.
Thanks.