News for hackers. Stuff that matters.
Re:Code that is valid in both PHP and Java, and produces the... by chias on Thursday September 01, 2016 @01:40AM (#12403306)
Interesting, thank you for explaining!

Given that they're prefixed with //, why does the sequence get interpreted at all? IIRC "///[star]" does not open a block comment.

EDIT: oh! That's what the 0x0a is for -- it's a line feed, which puts the /[star] onto the next line. Sneaky.

EDIT2: hmmmm HN formatting... had to replace my asterisks with [star] because it was just italicizing everything in between.

There are no comments on this comment yet.