1. Home
  2. MCQs by exam
  3. PHP Developer Interviews

PHP Developer Interviews MCQs

12 multiple choice questions typical of the PHP Developer Interviews exam, with answers and explanations. Switch on practice mode to test yourself first.

Showing 1–12 of 12

Which function, added in PHP 8.0, checks whether a string contains a given substring?

  1. str_contains() Correct answer
  2. str_has()
  3. in_string()
  4. contains()
MCQSEXAM Read explanation