Revert "- bugfix on $php_handling security and optimization of smarty_internal_parsetree (Thue Kristensen)"

This reverts commit e794de640d5c3735dfd81aacf238901235a58899.