Well, that shouldn't be a problem even when working with typeless variables. The only allowed operator for strings is '.' and this doesn't include '+'.
Rob wrote:
Your variables are being added as if they are strings. One of the minor issues with typeless variables is that you can sometimes run into this problem. It'd probably work correclty if you did:
$value = 1 + $variable;