Comments command in PHP broken


#1

Hopefully this is in the right place, but if I do comment out a line or group of lines in a PHP document, instead of doing a double slash (//) or a hash (#) it does an HTML comment (<-- -->) which doesn’t comment PHP code, it breaks it.

<!-- var_dump($this->data); -->

Latex comment out selected line
#2

It may seem like such a minor thing, but it could turn out to be a deal-breaker for me.


#3

This no longer seems to be a problem. PHP is now being correctly commented with double-slashes.


#4

I moved a post to a new topic: Can’t get PHP comments to work