Correct Answer: const MY_CONSTANT = 'value';
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
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?
Correct usage of the chmod() function?
Functions can be used to execute a shell command?
print_r( 2 ) outputs:
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()'?
Which is incorrect way to take a PHP variable named $name and reassign it to a JavaScript variable var name?