My code:
// } elseif(php_uname() === TEST_SERVER_NAME){
// $tmp = "/var/www/html/".preg_replace("/.*(demo[0-9]+).*/", '$1', $_SERVER['SERVER_NAME'])."/something/tmp/";
// } else{
// $tmp = '/var/www/html/something/tmp/';
// }
My IDE (phstorm) highlights it as if something is not commented out, starting from the second line above.
Is it the case? Can anything break line commenting?
Everything following a
//on a line is a comment until the end of the line. You can break out of/* */comments, you cannot break out of//comments before the end of the line.Your IDE is bad. 😉