Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

What’s the problem? please tell me

3 like 0 dislike
Hello guys,

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

What’s the problem?

Please tell me............
asked 1 year ago by daneim (127,080 points)

1 Answer

1 like 0 dislike
 
Best answer
PHP Interpreter treats numbers beginning with 0 as octal. Look at the similar PHP interview questions for more numeric problems.
answered 1 year ago by marck_don (191,010 points)

Related questions

4 like 0 dislike
1 answer
9 like 0 dislike
1 answer
13 like 0 dislike
1 answer
asked 2 years ago by biswaskeran (70,430 points)
5 like 0 dislike
1 answer
asked 1 year ago by daneim (127,080 points)