what would be the best way to use boolean and null values in method calls inside templates? See:
<html> <body> Some HTML. $MyMethod(false) $AnotherMethod(true) $ThirdMethod(null) </body> </html>
Currently what happens with those examples is that words false, true and null are converted to strings, which obey to the old, deprecated template syntax that allowed us to write strings without wrapping them to quotes.
Is it possible at all, or should I just use 1 to indicate true and 0 to indicate false/null? I really would like to use strict data types inside my PHP class methods.
Thank you for your help! :)