What are the INI settings?

When tracking upload progress with sessions, the values of 2 INI settings are needed to determine the key in $_SESSION of the upload progress data. What are the INI settings? (Choose 2)A . session.upload_progress.fileB . session.upload_progress.keyC . session.upload_progress.prefixD . session.upload_progress.freqE . session.upload_progress.nameView AnswerAnswer: C, E

March 1, 2018 No Comments READ MORE +

What is the result of the following code?

What is the result of the following code? define('PI', 3.14); class T { canst Pl = Pl; } class Math { canst Pl = T::PI; } echo Math::PI;A . Parse errorB . 3.14C . PlD . T::PIView AnswerAnswer: B

February 26, 2018 No Comments READ MORE +

Which MIME type is always sent by a client if a JPEG file is uploaded via HTIP?

Which MIME type is always sent by a client if a JPEG file is uploaded via HTIP?A . image/jpegB . image/jpgC . image/pjpegD . Depends on the client systemView AnswerAnswer: D

February 26, 2018 No Comments READ MORE +

When using password_hash() with the PASSWORD_DEFAULT algorithm constant, which of the following is true? (Choose 2)

When using password_hash() with the PASSWORD_DEFAULT algorithm constant, which of the following is true? (Choose 2)A . The algorithm that is used for hashing passwords can change when PHP is upgraded.B . The salt option should always be set to a longer value to account for future algorithm requirements.C ....

February 25, 2018 No Comments READ MORE +

What is the output of the following code?

What is the output of the following code? echo "22" + "0.2", 23 . 1;A . 220.2231B . 22.2231C . 22.2,231D . 56.2View AnswerAnswer: B

February 24, 2018 No Comments READ MORE +

Which of the following statements is NOT correct?

Which of the following statements is NOT correct?A . Only methods can have type hintsB . Type hints can be optionalC . Type hints can be referencesView AnswerAnswer: A

February 21, 2018 No Comments READ MORE +

Given a PHP value, which sample shows how to convert the value to JSON?

Given a PHP value, which sample shows how to convert the value to JSON?A . $string= json_encode($value);B . $string= Json::encode($value);C . $json = new Json($value); $string= $json-> toString();D . $value= (object) $value; $string= $value-> toJson();View AnswerAnswer: A

February 20, 2018 No Comments READ MORE +

What is "instanceof" an example of?

What is "instanceof" an example of?A . a booleanB . an operatorC . a functionD . a language construct E: a class magicView AnswerAnswer: B

February 18, 2018 No Comments READ MORE +

What function is best suited for extracting data from a formatted string into an array?

What function is best suited for extracting data from a formatted string into an array?A . fgetcsvB . sscanfC . sprintfD . strtokView AnswerAnswer: C

February 18, 2018 1 Comment READ MORE +

echo isset($c)?

What is the output of the following code? $a= 'a'; $b = 'b'; echo isset($c)? $a.$b.$c: ($c = 'c').'d';A . abcB . cdC . 0dView AnswerAnswer: B

February 16, 2018 No Comments READ MORE +