How do you set a particular time zone to be used by your PHP code?
Correct Answer: date_default_timezone_set()
Explanation:
Note: This Question is unanswered, help us to find answer for this one
PHP Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More PHP MCQ Questions
Function to check if a variable is an array or not?
What is the output? $foo = 10; $bar = '10'; if ($foo === $bar){ echo 'I ran'; }
Which are valid in PHP?
Correct ways to create an arrays in PHP higher then version 5.3 Note: there may be more then one correct answer
What is output? $time = strtotime ('2016-01-01'); echo date ('d-m-y H:i:s:u', $time);
dirname(__FILE__) will return what?
Which character is used to separate namespaces in PHP?
Which string delimiting methods is known as the heredoc syntax?
Variable $a has not been declared. With error reporting turned off, what is the result of: $a[1][2]=3;?
What do anonymous functions do in PHP?