Affects Version/s: 2.4.1
Fix Version/s: None
If module Zend OPcache is installed and configured not to save comments the AnnotationReader class fails to parse data for entities.
Output from php -m contains line Zend OPcache.
The module is configured with the following parameter opcache.save_comments=0.
I would expect the AnnotationReader constructor to throw an exception. But it does not check if the module is loaded.
In addition to the check for opcache module
we might have a new check for the Zend OPcache module