What will the following code produce? A. One B. Two C. Syntax Error D. Nothing
Your PHP script is repeatedly parsing 50KB of data returned from a remote web service into browser-readable HTML. Users complain that the script takes a long time to run. Which of the following...
What is the name of the error level constant that is used to designate PHP code that will not work in future versions? A. E_NOTICE B. E_WARNING C. E_PARSE D. E_DEPRECATED
Which PHP functions may be used to find out which PHP extensions are available in the system? A. extension_loaded() B. get_extension_funcs() C. get_loaded_extensions() D. dl()
What is the output of the following script? A. 1,2,3,4,5,6,7,8,9 B. 1,2,3,4,5,6,7,8,9,10, C. 1,2,3,5,8,13,21,34,55,89, D. 1,1,1,1,1,1,1,1,1,1,
Function world() is defined in the namespace ‘myapp\utils\hello’. Your code is in namespace ‘myapp’. What is the correct way to import the hello namespace so you can use the...
When PHP is running on a command line, what super-global will contain the command line arguments specified? A. $_SERVER B. $_ENV C. $GLOBALS D. $_POST E. $_ARGV
What is the output of the following code? A. 4 B. 3 C. 5 D. 1