I have this strange problem. When debugging, I have sometimetimes code looking like this
die()
die() function needs a string parameter.
In your second example
die($var."<-");
$var is converted into String before concat with "<-". So this line will print out "15<-". This is normal. There is neither a bug nor any thing wrong.