When an object has a property but with the value null, it says that the object does not have the property
I think this is incorrect behavior, if a class is defined with attributes it should use the attribute values even if it null
at least for objects, because the logic of arrays and objects must match!
you have a check array_key_exists in arrays, why not use property_exists for objects??
When an object has a property but with the value null, it says that the object does not have the property I think this is incorrect behavior, if a class is defined with attributes it should use the attribute values even if it null
at least for objects, because the logic of arrays and objects must match! you have a check
array_key_exists
in arrays, why not useproperty_exists
for objects??Context.php
should be
because
what I suggest is to add an option in handlebars to switch on this kind of behavior