junior php developer

junior php developer

  • Wipro Technologies
  • 0-1 years
  • 1 year ago

Questions

  • What are different ways to get the extension of a file in PHP?
  • What is the use of urlencode() and urldecode() in PHP?
  • Explain PHP Traits?
  • What’s the difference between unset() and unlink()?
  • What are the main error types in PHP and how do they differ?
  • What is the difference between GET and POST?
  • How can you enable error reporting in PHP?
  • What are the __construct() and __destruct() methods in a PHP class?
  • What are SQL Injections, how do you prevent them and what are the best practices?