Which of the following will return the extension of a file name?
Correct Answer: pathinfo($filepath,PATHINFO_EXTENSION).
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
With what encoding does chr() work?
Is the ||= operator present in PHP?
Which statement is incorrect, with regards to inheritance in PHP?
Best way to convert one date format into another; portable for all PHP versions?
Best approach to parse HTML and extract structured information from it?
$array1 = array('blue' => 1, 'red' => 2, 'green' => 3, 'purple' => 4); $array2 = array('green' => 5, 'blue' => 6, 'yellow' => 7, 'cyan' => 8); var_dump(array_diff_key($array1, $array2));
Value returned by the preg_match function in php?
Keyword to create object of a class in PHP?
What is the opening tag for PHP
$message vs. $$message . what is the difference