A. A scalar
B. All of the above
C. An expression
D. A boolean
A. isset($a['key'])
B. in_array('key', array_keys($a))
C. None of the above
D. array_key_exists('key', $a)
A. $default_opts = array('http'=>array('user_agent'=>"My Cool Browser")); $default=stream_context_set_default($default_opts);
B. ini_set('user_agent', "My Cool Browser");
C. stream_context_set_option("user_agent", "My Cool Browser");
D. stream_context_set_option($context, "http", "user_agent", "My Cool Browser");
A. File name extension
B. Contents of the file
C. MIME type
A. Interfaces can extend more than one interface
B. Interfaces can redeclare inherited methods
C. Interfaces can extend only one interface
D. Interfaces can inherit a method from different interfaces
A. 2
B. 1
C. 4
D. 0
E. 3
A. string(l) "!"
B. string(2) "k!"
C. bool(false)
D. string(0) '"'
A. quote_meta()
B. preg_quote()
C. htmlentities()
D. addslashes()
E. regex_quote()
A. extension
B. optimizer
C. dl
D. zend_extension
C. No Output, PHP will generate an error message.
A. getAttributeNS()
B. getAttribute()
C. hasAttributeNS()
D. hasAttribute()
A. Reflection is an extension that can be disabled
B. Reflection only allows to reflect on built-in classes
C. Built-in classes can be reflected on command line using php --re <classname>
D. Reflection is a new extension present only in PHP 7.0+
A. bool(true)
B. bool(false)
A. reduce code size in PHP
B. guarantee high performance
C. reduce the database server overhead
D. secure access to the database
E. secure data consistency