Smarty Update to Version 5
Full PHP 8 support, improved performance and modern security standards for your Smarty templates.
- PHP 8.0 – 8.3 compatible
- Template migration incl. tests
- Backup before every update
- Response within 24h
Request a free quote
Thank you!
I will get back to you within 24 hours.
100% free & non-binding
Why update Smarty to Version 5?
Modern templates for modern PHP versions
PHP 8 Compatibility
Full support for PHP 8.0, 8.1, 8.2 and 8.3 without deprecated functions
Performance
Faster template compilation and optimised cache management
Security
Modern security standards and closed security vulnerabilities
Clean Code
Removed deprecated features and modern programming standards
Maintainability
Easier maintenance through up-to-date code and better documentation
Future-proof
Long-term support and further development
Smarty Version Comparison
Time for an update? See the difference here
Smarty 5 (Current)
- PHP Support: 8.0, 8.1, 8.2, 8.3
- Performance: Optimised template compilation
- Security: Modern standards
- Syntax: Stricter checks, better error handling
- Maintenance: Actively developed and supported
Smarty 3/4 (Outdated)
- PHP Support: PHP 5.x - 7.4 only
- PHP 8 issues: Deprecated functions
- Errors: create_function(), each() etc.
- Security: No more updates
- Maintenance: No active development
Is your Smarty installation still running on PHP 8?
Many hosters have already switched to PHP 8.1 or higher. Smarty 3 and 4 are not fully compatible with PHP 8 and cause critical errors.
Recommendation: Upgrade now to Smarty 5 for a secure and future-proof installation.
Common Error Messages
Do you recognise these errors? Time for an update!
Deprecated: Function create_function()
This function was deprecated in PHP 7.2 and removed in PHP 8.0
Call to undefined function each()
The each() function was completely removed in PHP 8.0
Cannot use string offset as an array
Stricter array access check in PHP 8.x
Uncaught TypeError: count()
PHP 8 requires correct type declarations
Argument #1 must be of type array
Stricter type checking for function calls
Passing null to parameter #1
Null values must be explicitly allowed
Are you seeing similar error messages?
All these errors are clear signs that your Smarty version is not compatible with PHP 8. An update to Smarty 5 fixes all these issues.
How the Smarty upgrade works
From analysis to go-live – transparent and professional
1. Analysis
I check your Smarty templates and PHP code for compatibility with Smarty 5 and PHP 8.
2. Quote
You receive a detailed fixed-price offer – guaranteed without hidden costs.
3. Backup
Full backup of your templates, plugins and application.
4. Migration
Upgrade to Smarty 5 with adjustment of all templates and deprecated features.
5. Testing
Comprehensive testing of all templates, plugins and functions with PHP 8.
6. Go-Live
After your approval, the updated version goes live.
Frequently Asked Questions
Answers to the most important questions about the Smarty update