A

Admin • 828.03K Points
Coach

Q. Which PHP function returns the directory name of a given path?

  • (A) dirname()
  • (B) basename()
  • (C) pathinfo()
  • (D) dir()
  • Correct Answer - Option(A)
  • Views: 6
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin
dirname() returns the directory part of a path.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.