Added check and return false if opcache is not enabled, to avoid segfault.