How to navigate legacy code?

Posted by The-Ball-23@reddit | ExperiencedDevs | View on Reddit | 28 comments

I have quiet some experience programming but I have mostly built application from scratch and that too only in a microservice architecture. I recently joined a new org and they have a monolith legacy code (\~15 years) on which they develop and refactor and another microservice (\~6 years). I can find my way through the microservice part as it is written in the language I am familiar with (GoLang) and I have worked in such a system earlier. But how do I find my way through on the monolith part (written in PHP) ? Are there any steps to it or any tried and tested approach that I can follow?