Correct Answer: date()
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
What's the output? class angryBob{ public function angryBob(){ $this->apple = 'Taken away by Bob' } } class sillyBill extends angryBob{ var $apple; public function sillyBill() { $this->apple = 'Eaten by Bill' parent::angryBob(); } } $Bill = new sillyBill; echo $Bill->apple;
Which PHP function checks a month, day, and year number to determine if they form a valid Gregorian date?
Correct way to assign a class constant?
class A{} class_alias( 'A', 'B' ); var_dump(new B); outputs ...
PHP variable $hello is set to 'HELLO WORLD'. Which statement would return 'Hello World' instead?
Which is false about foreach loop in PHP?
When user clicks on Logout link, the user is redirected to logout.php file and the file has following code? What is wrong with the following code?
What will be the output ? background-color#FFFcolor#333font-familyVerdana, Geneva, sans-serif'; $xml = simplexml_load_string($xmlFile); foreach($xml->css as $css) { echo (string) $css->element['id'].'{'; foreach($xml->css->element->csstag as $tag) { $temp = $tag->title.': '.$tag->value.';'; echo $temp; } echo '}'; } ?>
What is the output? '; $array1 = array( '1'=>'a', '2'=>'b', '3'=>'c' ); $array = array_flip($array1); print_r($array); echo ''; ?>
Which options may be a reason for the error - 'Call to undefined function curl_init()'?
PHP MCQs | Topic-wise