Top 30 PHP Interview Questions and Answers for beginners and experts.

Question : How can we encrypt password using PHP?
Answer : crypt () function is used to create one way encryption. It takes one input string and one optional parameter.

Question :How to scrape data from website using CURL?
Answer : To scrap the data from website, Website must be public and open for scrapable.
In the blow code, just update the CURLOPT_URL to which websites data you want to scrap.

https://intellipaat.com/interview-question/php-interview-questions

Blogbook : PHP | Javascript | Laravel | Corcel | CodeIgniter | VueJs | ReactJs | WordPress