Example of extends using php