Showing posts with label but it keeps coming up with a different number. Show all posts
Showing posts with label but it keeps coming up with a different number. Show all posts

Saturday, May 16, 2009

I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what’s the problem?

PHP Interpreter treats numbers beginning with 0 as octal. Look at the similar PHP interview questions for more numeric problems.