Simon Wisselink 
							
						 
					 
					
						
						
							
						
						39b69f0142 
					 
					
						
						
							
							Feature/php8 support ( #629 )  
						
						 
						
						... 
						
						
						
						Adds support for PHP8.0, dropping support for PHP7.0 and below.
Backwards incompatible changes:
- Dropped support for php asp tags in templates (removed from php since php7.0)
- Dropped deprecated API calls that where only accessible through SmartyBC
- Dropped support for {php} and {include_php} tags and embedded PHP in templates. Embedded PHP will now be passed through as is.
- Removed all PHP_VERSION_ID and compare_version checks and conditional code blocks that are now no longer required
- Dropped deprecated SMARTY_RESOURCE_CHAR_SET and SMARTY_RESOURCE_DATE_FORMAT constants
- Dropped deprecated Smarty::muteExpectedErrors and Smarty::unmuteExpectedErrors API methods
- Dropped deprecated $smarty->getVariable() method. Use $smarty->getTemplateVars() instead.
- $smarty->registerResource() no longer accepts an array of callback functions
See the changelog for more details.
Switched CI from Travis to Github CI. 
						
						
					 
					
						2021-10-13 12:15:17 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								uwetews 
							
						 
					 
					
						
						
							
						
						4f7cd8f1b3 
					 
					
						
						
							
							- reformating for PSR-2 coding standards  https://github.com/smarty-php/smarty/pull/483  
						
						 
						
						
						
						
					 
					
						2018-08-31 16:45:09 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								uwetews 
							
						 
					 
					
						
						
							
						
						799b5cb342 
					 
					
						
						
							
							- fix PSR-2 coding standards and PHPDoc blocks  https://github.com/smarty-php/smarty/pull/452  
						
						 
						
						... 
						
						
						
						https://github.com/smarty-php/smarty/pull/475 
    https://github.com/smarty-php/smarty/pull/473 
  - bugfix PHP5.2 compatibility https://github.com/smarty-php/smarty/pull/472  
						
						
					 
					
						2018-08-19 02:35:46 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sławomir Kaleta 
							
						 
					 
					
						
						
							
						
						2404095783 
					 
					
						
						
							
							Update PSR-2  
						
						 
						
						
						
						
					 
					
						2018-06-12 09:58:15 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Uwe Tews 
							
						 
					 
					
						
						
							
						
						3fc8abeb98 
					 
					
						
						
							
							code cleanup and optimizations  3.1.32-dev-34  
						
						 
						
						
						
						
					 
					
						2017-11-06 01:02:56 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Uwe Tews 
							
						 
					 
					
						
						
							
						
						dd9c076dfa 
					 
					
						
						
							
							- correction of PHPDoc blocks  
						
						 
						
						... 
						
						
						
						- minor code cleanup 
						
						
					 
					
						2017-10-26 10:25:41 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Uwe Tews 
							
						 
					 
					
						
						
							
						
						570bc41b12 
					 
					
						
						
							
							- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR  
						
						 
						
						
						
						
					 
					
						2017-10-26 06:14:22 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Uwe Tews 
							
						 
					 
					
						
						
							
						
						41621ca35e 
					 
					
						
						
							
							- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit  f7a5316205)  
						
						 
						
						
						
						
					 
					
						2017-10-26 04:37:31 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Uwe Tews 
							
						 
					 
					
						
						
							
						
						a675aaf68e 
					 
					
						
						
							
							- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit  f7a5316205) (reverted from commit  beaa293eb3)  
						
						 
						
						
						
						
					 
					
						2017-10-26 04:37:17 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Uwe Tews 
							
						 
					 
					
						
						
							
						
						4cbc436599 
					 
					
						
						
							
							- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit  f7a5316205) (reverted from commit  beaa293eb3) (reverted from commit  86f36196e2)  
						
						 
						
						
						
						
					 
					
						2017-10-26 04:36:17 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Uwe Tews 
							
						 
					 
					
						
						
							
						
						eaac933770 
					 
					
						
						
							
							- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit  f7a5316205) (reverted from commit  beaa293eb3) (reverted from commit  86f36196e2) (reverted from commit  36c6a72015)  
						
						 
						
						
						
						
					 
					
						2017-10-26 04:36:08 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Uwe Tews 
							
						 
					 
					
						
						
							
						
						36c6a72015 
					 
					
						
						
							
							- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit  f7a5316205) (reverted from commit  beaa293eb3) (reverted from commit  86f36196e2)  
						
						 
						
						
						
						
					 
					
						2017-10-26 04:35:56 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Uwe Tews 
							
						 
					 
					
						
						
							
						
						86f36196e2 
					 
					
						
						
							
							- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit  f7a5316205) (reverted from commit  beaa293eb3)  
						
						 
						
						
						
						
					 
					
						2017-10-26 04:19:23 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Uwe Tews 
							
						 
					 
					
						
						
							
						
						beaa293eb3 
					 
					
						
						
							
							- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit  f7a5316205)  
						
						 
						
						
						
						
					 
					
						2017-10-26 03:37:40 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Uwe Tews 
							
						 
					 
					
						
						
							
						
						f7a5316205 
					 
					
						
						
							
							- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR  
						
						 
						
						
						
						
					 
					
						2017-10-22 03:38:10 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								uwetews 
							
						 
					 
					
						
						
							
						
						da22c961bb 
					 
					
						
						
							
							- improvement check if ini_get() and ini_set() not disabled  
						
						 
						
						... 
						
						
						
						https://github.com/smarty-php/smarty/pull/362  
						
						
					 
					
						2017-05-21 02:24:48 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								uwetews 
							
						 
					 
					
						
						
							
						
						d9a6938473 
					 
					
						
						
							
							- cleanup convert cache resource file method clear into runtime extension  
						
						 
						
						
						
						
					 
					
						2016-09-19 16:39:19 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								uwetews 
							
						 
					 
					
						
						
							
						
						2003020df9 
					 
					
						
						
							
							- bugfix remove constant DS as shortcut for DIRECTORY_SEPARATOR as the user may have defined it to something else  https://github.com/smarty-php/smarty/issues/277  
						
						 
						
						
						
						
					 
					
						2016-08-23 08:03:39 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								uwetews 
							
						 
					 
					
						
						
							
						
						d854219696 
					 
					
						
						
							
							- bugfix avoid opcache_invalidate to result in ErrorException when opcache.restrict_api is not empty  https://github.com/smarty-php/smarty/pull/244  
						
						 
						
						
						
						
					 
					
						2016-07-18 19:45:30 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								uwetews 
							
						 
					 
					
						
						
							
						
						dccfc6c2f5 
					 
					
						
						
							
							- broken PHP 5.3 and 5.4 compatibility  
						
						 
						
						
						
						
					 
					
						2016-05-16 18:17:58 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								uwetews 
							
						 
					 
					
						
						
							
						
						6ef0d0eaa0 
					 
					
						
						
							
							- optimization and cleanup of resource code  
						
						 
						
						
						
						
					 
					
						2016-05-15 11:13:31 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								uwetews 
							
						 
					 
					
						
						
							
						
						62bf9eeddc 
					 
					
						
						
							
							- optimization of resource processing  
						
						 
						
						
						
						
					 
					
						2016-03-11 01:07:26 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								uwetews 
							
						 
					 
					
						
						
							
						
						b04486a091 
					 
					
						
						
							
							- reformat all code for unique style  
						
						 
						
						
						
						
					 
					
						2016-02-09 01:27:15 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								uwetews 
							
						 
					 
					
						
						
							
						
						fbf544286a 
					 
					
						
						
							
							- new feature If ACP is enabled force an apc_compile_file() when compiled or cached template was updated  
						
						 
						
						
						
						
					 
					
						2015-12-25 10:29:29 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								uwetews 
							
						 
					 
					
						
						
							
						
						613e66c257 
					 
					
						
						
							
							- optimization replace hhvm extension by inline code  
						
						 
						
						
						
						
					 
					
						2015-12-25 10:02:10 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								uwetews 
							
						 
					 
					
						
						
							
						
						5c377637e1 
					 
					
						
						
							
							- new feature  Caching does now observe the template_dir setting and will create separate cache files if required  
						
						 
						
						
						
						
					 
					
						2015-12-23 04:35:48 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								uwetews 
							
						 
					 
					
						
						
							
						
						a0f583078d 
					 
					
						
						
							
							- minor optimizations  
						
						 
						
						
						
						
					 
					
						2015-10-29 21:41:21 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								uwetews 
							
						 
					 
					
						
						
							
						
						888014b908 
					 
					
						
						
							
							- new extension handler to load functions when called  
						
						 
						
						
						
						
					 
					
						2015-10-24 05:02:24 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								uwetews 
							
						 
					 
					
						
						
							
						
						bf6910ee21 
					 
					
						
						
							
							- bugfix under HHVM temporary cache file must only be created when caches template was updated  
						
						 
						
						
						
						
					 
					
						2015-10-18 05:08:03 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								uwetews 
							
						 
					 
					
						
						
							
						
						4776491a7f 
					 
					
						
						
							
							- bugfix under HHVM temporary cache file must only be created when caches template was updated  
						
						 
						
						
						
						
					 
					
						2015-10-18 04:58:53 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Uwe Tews 
							
						 
					 
					
						
						
							
						
						643e6784e8 
					 
					
						
						
							
							- bugfix Smarty failed when compile_id did contain "|"  
						
						 
						
						
						
						
					 
					
						2015-08-06 21:42:20 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Uwe Tews 
							
						 
					 
					
						
						
							
						
						f2585a035c 
					 
					
						
						
							
							- rework clear cache methods  
						
						 
						
						
						
						
					 
					
						2015-08-03 05:40:34 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Uwe Tews 
							
						 
					 
					
						
						
							
						
						f9d9ca0f67 
					 
					
						
						
							
							- improvement impement workaround for HHVM PHP incompatibillity  https://github.com/facebook/hhvm/issues/4797  
						
						 
						
						
						
						
					 
					
						2015-07-26 18:04:40 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Uwe Tews 
							
						 
					 
					
						
						
							
						
						8cbe51a603 
					 
					
						
						
							
							- improvement invalidate PHP 5.5 opcache for recompiled and cached templates   https://github.com/smarty-php/smarty/issues/72  
						
						 
						
						
						
						
					 
					
						2015-07-20 04:01:43 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Uwe Tews 
							
						 
					 
					
						
						
							
						
						b64d5d26c9 
					 
					
						
						
							
							- update  realpath handling  
						
						 
						
						
						
						
					 
					
						2015-06-21 13:53:52 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Uwe Tews 
							
						 
					 
					
						
						
							
						
						af08353e93 
					 
					
						
						
							
							- bugfix/improvement in 3.1.22-dev cache locking did not work as expected  
						
						 
						
						
						
						
					 
					
						2015-05-06 23:10:39 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Uwe Tews 
							
						 
					 
					
						
						
							
						
						c5915a8c0c 
					 
					
						
						
							
							- improvement use is_file() checks to avoid errors suppressed by @ which could still cause problems ( https://github.com/smarty-php/smarty/issues/24 )  
						
						 
						
						
						
						
					 
					
						2015-05-05 00:41:30 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Uwe Tews 
							
						 
					 
					
						
						
							
						
						8d5fa36a80 
					 
					
						
						
							
							- bugfix clearCompiledTemplates(), clearAll() and clear() could try to delete whole drive  
						
						 
						
						... 
						
						
						
						at wrong path permissions because realpath() fail (forum 25397) 
						
						
					 
					
						2015-01-21 22:14:25 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Uwe Tews 
							
						 
					 
					
						
						
							
						
						85f24ce413 
					 
					
						
						
							
							convert writeFile() to object method to remove a vulnerability  
						
						 
						
						
						
						
					 
					
						2015-01-21 21:12:00 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Uwe Tews 
							
						 
					 
					
						
						
							
						
						adc6091c4d 
					 
					
						
						
							
							update of cache resources for template function calls in nocache mode  
						
						 
						
						
						
						
					 
					
						2014-11-09 10:20:06 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								monte.ohrt 
							
						 
					 
					
						
						
							
						
						fcece85062 
					 
					
						
						
							
							fix issue where cache dir does not exist  
						
						 
						
						... 
						
						
						
						-This line, and those below, will be ignored--
M    distribution/libs/sysplugins/smarty_internal_cacheresource_file.php 
						
						
					 
					
						2014-07-24 15:08:32 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Uwe.Tews@googlemail.com 
							
						 
					 
					
						
						
							
						
						425091a19f 
					 
					
						
						
							
							- fixed spelling, PHPDoc , minor errors, code cleanup  
						
						 
						
						
						
						
					 
					
						2014-06-06 02:40:04 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Uwe.Tews@googlemail.com 
							
						 
					 
					
						
						
							
						
						3d4d35f4d7 
					 
					
						
						
							
							- bugfix clearXxx() change of 27.1.2014 did not work when specifing cache_id or compile_id  (forum topic 24868 and 24867)  
						
						 
						
						
						
						
					 
					
						2014-03-13 20:32:39 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Uwe.Tews@googlemail.com 
							
						 
					 
					
						
						
							
						
						ba2996fef5 
					 
					
						
						
							
							- bugfix clearCompiledTemplate(), clearAll() and clear() should use realpath to avoid possible exception from RecursiveDirectoryIterator (Issue 171)  
						
						 
						
						
						
						
					 
					
						2014-01-27 16:35:56 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Uwe.Tews@googlemail.com 
							
						 
					 
					
						
						
							
						
						00ccae8857 
					 
					
						
						
							
							- update for PHP 5.4 compatibility  
						
						 
						
						... 
						
						
						
						- reformat source to PSR-2 standard 
						
						
					 
					
						2013-07-14 22:15:45 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Uwe.Tews@googlemail.com 
							
						 
					 
					
						
						
							
						
						00c034b593 
					 
					
						
						
							
							- enhancement an expire_time of -1 in clearCache() and clearAllCache() will delete outdated cache files  
						
						 
						
						... 
						
						
						
						by their individual cache_lifetime used at creation (forum topic 24310) 
						
						
					 
					
						2013-05-26 10:50:13 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rodneyrehm 
							
						 
					 
					
						
						
							
						
						b977381e4e 
					 
					
						
						
							
							bugfix PHP5.2 compatibility compromised by SplFileInfo::getBasename() (Issue 110)  
						
						 
						
						
						
						
					 
					
						2012-08-14 13:22:34 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								uwe.tews@googlemail.com 
							
						 
					 
					
						
						
							
						
						8c3bcf9eef 
					 
					
						
						
							
							- bugfix concurrent cache updates could create a warning (Forum Topic 21403)  
						
						 
						
						
						
						
					 
					
						2012-04-12 16:55:35 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rodneyrehm 
							
						 
					 
					
						
						
							
						
						7659c6c0ea 
					 
					
						
						
							
							- add Smarty::$allow_ambiguous_resources to activate unique resource handling (Forum Topic 20128)  
						
						 
						
						... 
						
						
						
						see http://www.smarty.net/forums/viewtopic.php?t=20128  
						
						
					 
					
						2011-10-21 18:40:16 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rodneyrehm 
							
						 
					 
					
						
						
							
						
						6baca38bf1 
					 
					
						
						
							
							- improvement sha1() for array keys longer than 150 characters  
						
						 
						
						
						
						
					 
					
						2011-10-21 12:10:41 +00:00