PHP: intval, part 1: surprising output
Self-tutoring about PHP’s intval function: the tutor mentions a surprise. I was reading about PHP’s intval function today. It’s meant, as I understand, to convert a decimal number to an integer, by just keeping the integer part. Putting it in …