blob: 48301da48fe4fd54117794d8a284b39d528df343 (
plain)
1
2
3
4
5
6
7
8
9
10
|
{if is_numeric(strtolower(trim($const)))}
int
{elseif strtolower(trim($const)) == "true" ||
strtolower(trim($const)) == "false"}
bool
{elseif strtolower(trim($const)) == "null"}
null
{else}
string
{/if}
|