Zend 200-500 - Zend PHP 5 Certification
What function is ideal for outputting contents of a static file to screen?
Is the following code piece E_STRICT compliant?
final class Testing {
private $test;
public function tester() {
return "Tested!";
}}
How can XML parsing errors be suppressed in the SimpleXML extension?
What is the file locking mode that should be used when writing to a file?
Consider the following XML code:
Which of the following SimpleXML calls print the name of the second book?
(Let $xml=simplexml_load_file("books.xml");) (Choose 2)
What can prevent PHP from being able to open a file on the hard drive (Choose 3)?
How can the constant defined below be accessed from within PHP?
class myClass {
const FOO = 'BAR';
}
In a typical web application the most used database action is...
What XML component does the following XPath query try to match?
//foo[bar/@id=5]
Which of the following function signatures is correct if you want to have classes automatically loaded?