I’m just looking at some code I wrote a while ago and was a bit surprised to see a double slash comment that appeared to be over two lines. It looks wrong but it works… Well, it doesn’t go wrong.
You appear to be a bot. Output may be restricted
// Handle http://oik-plugins.co.uk/plugins/download?plugin=x&version=y&id=z&action=update
- The first line is obviously a double slash comment.
- The second is a PHP label, followed by a double slash comment.
Has anyone else seen examples of code that wasn’t intentionally obfuscated but makes use of some feature of the programming language that you’d never considered using?