| Recommend this page to a friend! |
| Packages of Michael Beck | Xoops 2.5 | htdocs/xoops_lib/vendor/smarty/smarty/docs/upgrading.md | Download |
|
|||||||||||||||||||||
Upgrading from an older versionUpgrading from v3 to v4Smarty 4 is mostly identical to Smarty 3. Most notably, it adds support for PHP8 and drops support for PHP7.0 and below. Additionally, some deprecated features that have long been discouraged have been dropped from the language. Muting PHP8 warningsIf you simultaneously upgrade Smarty to v4 van PHP to v8, you may notice your error logs filling up with warnings about undefined or null template vars
due to a change in how PHP handles these. This may be helpful to spot errors, but if you find this annoying, you can use
ASP tagsYou can no longer user ASP-style tags like SmartyBCCheck your codebase for No more embedded PHPWe have completely dropped support for Other changesSearch your code for the following changes:
|