Computer Science MCQs · PHP To process the file, you need to break the array from $_FILES into individual values. You can do this using the ___ function A divide() B list() Correct answer C break() D indi() MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP DocBlocks are indicated by opening a comment using ___. A /* B //* C /** Correct answer D /*/ MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP To make the ImageHandler class portable you should create a separate file for it called ___. A imagehandler.inc.php B images.inc.php Correct answer C handler.inc.php D imghandler.inc.php MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP To check whether a file was uploaded, you look in the ___ superglobal array. A $_FILES Correct answer B $_DOCS C $_DOCUMENTS D $_FOLDERS MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP When you’re uploading files you need to set the enctype of the form to ___. A text B text/file C multipart/form-data Correct answer D multimedia/form-data MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP Which one of the following filter checks if variable of specified type exists? A filter_has_var Correct answer B filter_var C filter_id D filter_var_array MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP Which one of the following filter is used to filter several variables with the same or different filters? A filter_var_array() Correct answer B filter_var() C filter_input D filter_input_array MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP Which function is responsible for sending a custom message to the system log? A systemlog() B syslog() Correct answer C log_system() D sys_log() MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP Which logging option’s description is, if an error occurs when writing to the syslog, send output to the system console? A LOG_CONS Correct answer B LOG_NDELAY C LOG_ODELAY D LOG_PERROR MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP Which function initializes the constants necessary for using the openlog(), clodelog(), and syslog() functions? A define_variable() B define_log_variable() C log_variable() D define_syslog_variable() Correct answer MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP Which of the following statements causes PHP to disregard repeated error messages that occur within the same file and on the same line? A ignore_repeated_errors Correct answer B ignore_repeat_error C repeatedly_ignore_error D repeated_error_ignore MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP Which version introduced the function error_get_last()? A PHP 4 B PHP 5 C HP 5.2 Correct answer D PHP 5.3 MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP Say you want to report error concerned about fatal run-time, fatal compile-time error and core error which statement would you use? A error_reporting = E_ALL B error_reporting = E_ERROR | E_PARSE | E_CORE_ERROR C error_reporting = E_ERROR | E_COMPILE_WARNING | E_CORE_ERROR D error_reporting = E_ERROR | E_COMPILE_ERROR | E_CORE_ERROR Correct answer MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP Which character do the error_reporting directive use to represent the logical operator NOT in PHP? A / B ! C ~ Correct answer D ^ MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP To create an object and set the date to JUNE 22, 2013, which one of the following statement should be executed? A $date = Date(“22 JUNE 2013″) B $date = new Date(“JUNE 22 2013″) C $date = DateTime(“22 JUNE 2013″) D $date = new DateTime(“22 JUNE 2013″) Correct answer MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP What is the description of Error level E_ERROR? A Fatal run-time error Correct answer B Near-fatal error C Compile-time error D Fatal Compile-time error MCQSEXAM Show answer Read explanation
Computer Science MCQs · PHP How many error levels are available in PHP 5? A 14 B 15 C 16 Correct answer D 17 MCQSEXAM Show answer Read explanation