Which of these error types may be handled by a user defined error handler function? (Choose two.)
Which of these error types may be handled by a user defined error handler function? (Choose two.) A. E_ERROR B. E_NOTICE C. E_PARSE D. E_WARNING
What is the length of a string returned by: md5(rand(). TRUE)
What is the length of a string returned by: md5(rand(). TRUE); A. Depends on the value returned by rand() function B. 32 C. 24 D. 16 E. 64
Which of the following items in the $_SERVER superglobal are important for authenticating the client when usin
Which of the following items in the $_SERVER superglobal are important for authenticating the client when using HTTP Basic authentication? (Choose two.) A. PHP_AUTH_TYPE B. PHP_AUTH_PASSWORD C. PHP_AUTH_DIGEST D. PHP_AUTH_PW E. PHP_AUTH_USER
What is the output of the following code?
What is the output of the following code? A. false-false B. false-true C. true-false D. true-true
What is the output of this code?
What is the output of this code? A. hello world B. hello $world C. PHP Parser error
When would you use classes and when would you use namespaces?
When would you use classes and when would you use namespaces? A. Use classes to encapsulate code and represent objects, and namespaces to avoid symbol name collisions B. Use classes for performance-sensitive code, and namespaces when readability matters more C. Use namespaces for performance-sensitive code, and classes when readability matters more D. Always use them; […]
Which function will remove the value 28 from $a?
Given the following array: Which function will remove the value 28 from $a? A. array_shift() B. array_pop() C. array_pull() D. array_unshift()
What function can be used to retrieve an array of current options for a stream context?
What function can be used to retrieve an array of current options for a stream context? A. stream_get_options() B. stream_context_get_default() C. stream_context_get_options() D. The ‘options’ element of the stream_get_meta_data() return value
What is the output of the following code?
What is the output of the following code? A. This is text B. $text C. $text1 D. $text2
You want to parse a URL into its single parts. Which function do you choose?
You want to parse a URL into its single parts. Which function do you choose? A. parse_url() B. url_parse(0 C. get_url_parts() D. geturlparts()