Zend 200-530 - Zend PHP 5.3 Certification
What is the output of the following code?
Which PHP function is used to validate whether the contents of $_FILES['name'] ['tem_name'] have really been uploaded via HTTP'?
Given the default PHP configuration, how can all of the parameters provided via GET be accessed in a form of a string?
Is the following code piece E_STRICT compliant?
final class Testing {
var $test = 0;
public function tester() {
return "Tested!";
}}
Which session function can help to avoid session fixation?
You are creating an application that repeatedly connects to a database to retrieve order data for invoices. All data comes from the same database. In order to preserve resources, you have to ensure that only one database connection should be used at any time. The code also has to open as few new database connections as possible. Which design pattern should you use for this scenario?
The following form is loaded in a browser and submitted, with the checkbox activated:
What is the output of the following code:
str_replace(array("Apple","Orange"), array("Orange","Apple"), "Oranges are orange and Apples are green");
What is the ideal method of copying data between two opened files?
Consider the following table data and PHP code. What is the outcome?
Table data (table name "users" with primary key "Id"):
PHP code (assume the PDO connection is correctly established):