Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

What is the most common cause of an unexpectedly slow PHP application?

  1. A Using double quotes instead of single quotes
  2. B Inefficient database queries such as N+1 patterns and missing indexes
  3. C Excessive comments
  4. D Long variable names
Answer

Inefficient database queries such as N+1 patterns and missing indexes

Micro-optimisations in PHP are noise compared with database cost. Profile before optimising, and check the slow query log first.

All Php MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as