Core PHP has a rich set of functionalities available so that the developer does not have to embed the same code again and again. When it comes to PHP framework, they usually have a fixed set of rules and hence the code can be passed from one developer to another without any hassles.