Showing posts with label Upwork PHP 5 test answers. Show all posts
Showing posts with label Upwork PHP 5 test answers. Show all posts

Upwork PHP 5 test answers

Q:  Which composite data types are supported by php?
Ans:     Array

Q:     The default value of register_globals in PHP is:
Ans:     Off

Q:     Which of the following is not a valid PHP connection status?
Ans:     open

Q:     Choose the correct statement:
Ans:      include() includes and evaluates a specific file
require_once() includes and evaluates a specific file only if it has not been included before

Q:     If the session_cache_expire() is not set, then by default the session cache will expire after:
Ans:     3 hrs

Q:     What will be the output of the following script?
$count=50;
function Argument()
{
$count++;
echo $count;
}
Argument();
?>
Ans:     It will print 1

how to call ssh from vs code

 To call SSH from VS Code, you can use the built-in Remote Development extension. This extension allows you to open a remote folder or works...