+ 1
Found this on challenge... Please explain how it work.
What is the output of this code? $x = 5 /* + 15 */ + 7; echo $x;
3 odpowiedzi
+ 7
The /* */ are there to show where comments are at.
just like // except you control use it inside a row, or over different rows.
So this is what it also could've said:
$x = 5 /* Comment */ +7;
That's exactly like:
$x = 5 + 7;
+ 1
oh didn't see that... the question is kinda confusing... thanks for the answer
0
12