Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Replace Functions Deprecated By PHP 7.2 #382
SourceBans, ideally, should not be using any deprecated functions provided by PHP.
When the Smarty compiler is called, you'll get deprecation notices for "create_function()" and "each()" on lines 269 and 559 of Smarty_Compiler.class.php, respectively.
A. Update Smarty to the latest version of Smarty 2
B. Patch the deprecated functions with the code provided here: smarty-php/smarty@4ab9757
Steps to Reproduce (for bugs)