+ 1

what is the meanig of x*=5/*+6*/ in php?

13th May 2017, 4:31 PM
surendra ojha
surendra ojha - avatar
4 Réponses
+ 13
x*=5 is the same as x=x*5 /*+6*/ this is a comment, so this is not executed
13th May 2017, 4:33 PM
Tashi N
Tashi N - avatar
+ 10
@Calvin That's a question of the quiz and he didn't copy the full statement, something is missing after the comment. @Yaroslav Tbh, I don't know anything about php ^^
13th May 2017, 4:40 PM
Tashi N
Tashi N - avatar
+ 2
If this is Php code, it should be x*=5; /*+6*/ It won't run without a semicolon.
13th May 2017, 4:36 PM
Calviղ
Calviղ - avatar
0
lol, Tashi, you are super brain, I don't recognize comment in this line
13th May 2017, 4:36 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar