Does using of PhpDoc improve performance of IDE

Does using of PhpDoc improves performance of IDE?

I mean, for example, does IDE try to analyze/find function return type even if function has PhpDoc with return type, or IDE just reads PhpDoc comment and doesn't analyze code?

1 comment


In general: yes, in most cases using PHPDoc helps to improve the performance as indeed we bypass some code analysis and take values directly from the documentation comment.

Of course it really depends on a particular project, used code, comments et cetera but there are many cases where PHPDoc actually helps to get some things quicker.


Please sign in to leave a comment.