Medifarma interview question

Testing on PHP program language