You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interesting. This looks like the PHP bareword behavior that has been removed in php8.0. I never noticed it in Smarty before. Will have to test first. What smarty version and what php version are you using?
Hello,
I had difficulty identifying a problem in a template. After reading the documentation I wonder if the behavior is normal or faulty.
$WXO_PRODUCT_CROSS and $WXO_PRODUCT_UP both have the value "".
The following code should not produce HTML output but it does. My error is a missing $ in the first condition.
The resulting code compiled by Smarty is:
instead of
Is it normal for "WXO_PRODUCT_CROSS" to be interpreted as a string instead of causing a compilation error?
The text was updated successfully, but these errors were encountered: