Question
a.
path_dir()
b.
path()
c.
is_dir()
d.
path_dir()
Posted under PHP
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which function do you have to use to check whether the $path you’ve stored exists?
Similar Questions
Discover Related MCQs
Q. Which one of the following is true about the following line –
$obj = new ImageHandler(‘/images/’, array(400, 300));
View solution
Q. Which version of PHP introduced the static keyword?
View solution
Q. Which keyword is used to access a static method or property from within the same class(rather than from child)?
View solution
Q. In which of the following circumstance should you use a static reference to a non static method?
View solution
Q. Which one of the following variable cannot be used inside a static method?
View solution
Q. What does PDO stand for?
View solution
Q. Which version of PHP allows you to define constant properties within a class?
View solution
Q. Which keyword is used to declare a constant property?
View solution
Q. Which one of the following is a constant variable?
View solution
Q. What will happen if you try to set a value to a constant once it has been declared?
View solution
Q. How many of the following can be contained in constants?
i) boolean
ii) integer
iii) float
iv) string
View solution
Q. Which one of the following class can not be instantiated?
View solution
Q. Which one of the following keywords is used to define an abstract class?
View solution
Q. Which one of the following is the correct abstract method?
View solution
Q. At least how many abstract methods must an abstract class contain?
View solution
Q. Which one of the following keyword is used to implement an interface?
View solution
Q. Which version of PHP introduced the concept called late static binding?
View solution
Q. Which one of the following methods in the exception class, is used to get a nested exception object?
View solution
Q. Which one of the following keyword is used in conjunction with an Exception object?
View solution
Q. Which keyword is used to put a stop on inheritance?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond PHP? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!