PHP Developer Question:
Download Questions PDF

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


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

Download PHP Developer Interview Questions And Answers PDF

Previous QuestionNext Question
How to execute a PHP script using command line?Can I use print "$a dollars" or "{$a} dollars" to print out the amount of dollars in this example?