some interview questions from beachmint in php