Exam style questions across every 200-550 domain
Last Update 3 days ago
Total Questions : 223
Start with our free 200-550 practice questions, carefully crafted to mirror the domains, phrasing, and difficulty of the real PHP and Zend Framework Certifications exam. Each 200-550 exam question comes with a detailed rationale that explains not just which answer is correct but why the others fall short. That's how concepts stick. Use the free set to benchmark yourself: identify your Zend weak domains, see where you're losing marks, and build a focused study plan in minutes.
Is the following code vulnerable to SQL Injection ($mysqli is an instance of the MySQLi class)?
$age = $mysqli->real_escape_string($_GET['age']);
$name = $mysqli->real_escape_string($_GET['name']);
$query = "SELECT * FROM `table` WHERE name LIKE '$name' AND age = $age";
$results = $mysqli->query($query);
What is the output of the following code?
function z($x) {
return function ($y) use ($x) {
return str_repeat($y, $x);
};
}
$a = z(2);
$b = z(3);
echo $a(3) . $b(2);
