An extremely fast PHP implementation of handlebars ( http://handlebarsjs.com/ ) and mustache ( http://mustache.github.io/ ),
608
stars
76
forks
source link
PHP Warning: Undefined array key when trying to access unavailable key from parent context #363
Open
DanielSiepmann opened 1 year ago
The PHP Code:
The result
The Issue:
A PHP Warning on PHP 8.1 due to checking
is_array()
prior checking if the value exists at all. https://zordius.github.io/HandlebarsCookbook/0014-path.html