If i compare a mustache generated variable with the actual string it shows weird result.
<?php
$username = {{userName}};
echo $username; // john
//if i compare with the string it returns false
if ($username == 'john') //return false
//if i print strlen($username) it returns 14 but it should return 4
?>
how to convert it to regular string so i can compare it with other string in php? any help?