What will the following code print?
echo addslashes('I am a small "HTML" string, which is
\'invalid\'.');
What can NOT be used to send a cookie from within a PHP application?
Is the following code piece E_STRICT compliant?
final class Testing {
private $test;
public function tester() {
return "Tested!";
}}
How can the id attribute of the 2nd baz element from the XML string below be retrieved from the SimpleXML object found inside $xml?
<?xml version='1.0'?>
<foo>
<bar>
<baz id="1">One</baz>
<baz id="2">Two</baz>
</bar>
</foo>
Which of the following functions are used to escape data within the context of HTML?
(Choose 2)
What is the output of the following code:
str_replace(array("Apple","Orange"), array("Orange","Apple"), "Oranges are orange and Apples are green");
Where does the session extension store the session data by default?
You want to extract the pieces of a date string, which looks like this:
"2005-11-02". Which of the following pieces of code will properly assign $year,
$month and $day with their respective values?
What is the output of the following code?
What visibility denies access to properties and methods outside of the class?
PDF + Testing Engine
|
---|
$57.75 |
Testing Engine
|
---|
$43.75 |
PDF (Q&A)
|
---|
$36.75 |
Zend Free Exams |
---|
|