Modern PHP shops don't really do dynamic PHP anymore. Ever since it got types and runtime type validation. Refactoring is also proven to be very easy as a result, and especially with something like Rector (https://github.com/rectorphp/rector).
This is what "dynamic typing" means.
In other languages, you know that the types are right /before/ you run the code.