Wrong parsing in PhpStorm Follow
Here is sample of class, which wrong parsing in PhpStorm
<?php
class Library_Scan {
private function somePreg($body = null){// preg_match("/Название:<\/td><td class=dl width=65%>(.*?)<\/td><\/tr>/i", $body, $arr); preg_match("/dl>Тест:<\/td><td class=dl>(.*?)<\/td><\/tr>/i", $body, $arr);
return true;
}
}
Please sign in to leave a comment.
some problems with comments, so below code is normal
<?php
class Library_Scan {
private function somePreg($body = null){
/* preg_match("/Название:<\/td><td class=dl width=65%>(.*?)<\/td><\/tr>/i", $body, $arr); */
preg_match("/dl>Тест:<\/td><td class=dl>(.*?)<\/td><\/tr>/i", $body, $arr);
return true;
}
}
Parsing is correct. http://www.php.net/manual/en/language.basic-syntax.comments.php