If $sendto is equal to an integer value, the integer is a pointer to the customer's default address on file with the OSC store.If $sendto is being used as an array only (you can use a variable as both at the same time), any query of the integer value of $sendto will be invalid (looking at $sendto by itself would return the value ???array???), resulting in an error or null by the (int) operation.