You analyze the code of a collegue and see, it uses the function strcasecmp. You try it out to see what it does and use the following function call:
strcasecmp('hello my dear!', 'Hello my DEAR!');
The function call returns "0". What does that mean?
Which of the following may be used in conjunction with CASE inside a SWITCH statement?
Some databases support the LIMIT clause. ft is a method to ensure that
What is the name of the key pointing to the domain name in the array returned by parse_url()?
What will be the output of the following code?
$a = array(0, 1, 2 => array(3, 4));
$a[3] = array(4, 5);
echo count($a, 1);
What is the output of the following code?
Which elements can be encapsulated by namespaces?
Which of the following can be registered as entry points with a SoapServer instance (choose 3)
PHP’s array functions such as array_values() can be used on an object is the oject….
After executing a SELECT query on a database server,
Under which circumstances is the $_SESSION super-global available? (Choose 2)
Which of the following keywords is not new in PHP 5?
When a transaction reports no affected rows, it means that: (Choose 2)
The following form is loaded in a browser and submitted, with the checkbox activated:
Which of the following XML declarations is NOT valid?
What is the result of the following bitwise operation in PHP?
1 ^ 2
You analyze the code of a colleague and see a call to the function quotemeta(). You give the string "Holy $%&[. What's going on?" as a parameter to it. What will it output?
Which of the following statements are NOT true?
Consider the following code. What can be said about the call to file_get_contents?
What is the return value of the following code?
strpos("me myself and I", "m", 2)
Given the default PHP configuration, how can all of the parameters provided via GET be accessed in a form of a string?
PHP's array functions such as array_values() and array_key_exists() can be used on an object if the object...
Which of the following data types cannot be directly manipulated by the client?
Assume that you are using PHP s session management without cookies and want to make sure that session information does not get lost when redirecting the client to another URL. Which of the following functions do you need to achieve that? (Choose 3)
Which requirements need NOT be met so that file uploads work?
You want to allow your users to submit HTML code in a form, which will then be displayed as real code and not affect your site layout. Which function do you apply to the text, when displaying it? (Choose 2)
Type hinting in PHP allows the identification of the following variable types: (Choose 2)
Webservices are primarily meant to support
Which of the following statements is true?
When retrieving data from URLs, what are valid ways to make sure all file_get_contents calls send a certain user agent string? (Choose 2)
What is the output of the following code?
What is "instanceof" an example of:
What tags can always be used to begin a PHP script? (Choose 2)
Which session function can help to avoid session fixation?
The XML document below has been parsed into $xml via SimpleXML. How can the value of
accessed?
How can precisely one byte be read from a file, pointed by $fp? (Choose 2)
What will the following function call return?
strstr(' ', '/');
Which of the following are valid identifiers (Choose 3)