<?php
class MyClass
{
public function myFunc1()
{
myFunc2 ('/*.js'); // The slash followed by an asterisk in the string makes Notepad++ not showing function list
}
public function myFunc2 ($name)
{
return $name;
}
/* This block comment with the string in myFunc1 makes Notepad++ not showing Function list */
}
?>
Function list is not shown with this piece of PHP code in the last version of Notepad++.
The problem is with the string in myFunc1, it makes Notepad++ believe we are starting a block comment (because it starts by /*) but actually it is a simple string.