In a shared hosting environment, session data can be read by PHP scripts written by any user. How can you prevent this? (Choose two.)
Given a php.ini setting of
default_charset = utf-8
what will the following code print in the browser?
What is the output of the following code?
What can prevent PHP from being able to open a file on the hard drive? (Choose two.)
Given the following array:
Which function will remove the value 28 from $a?
What is the output of the following code?
What is the output of the following code?
How should class MyObject be defined for the following code to work properly? Assume $array is an array and MyObject is a user-defined class.
What is the method used to execute XPath queries in the SimpleXML extension?
An HTML form contains this form element:
When this form is submitted, the following PHP code gets executed:
Which of the following actions must be taken before this code may go into production? (Choose two.)
What is the length of a string returned by: md5(rand(). TRUE);