-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Description
Description of the Issue
I looked over the other Functionlist issues and didn't see this particular problem. I believe I've broken it down as much as possible:
Functionlist has an issue showing any functions inside classes when this string is present (and the functions are private, protected or public) in a php file:
$string = "\"{";
Steps to Reproduce the Issue
- Create a test.php file
- copy paste the following into it:
<?php
class test{
protected function blah(){
$string="\"{";
}
}
?>
- Save the file, then look at the function list. Next, take out the word "protected" or comment out the string, save, and then the function list works again.
Expected Behavior
I was expecting it to show the functions in the file even with that string in the function. I can work around it by adding a chr(123) to any string that needs an open bracket (and is followed by an escaped double quotes), but it would be nice if I didn't have to do that.
Actual Behavior
No functions were shown in the list.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels