Easy Tutorial
❮ Func Mysqli Fetch Lengths Func Mysqli Ssl Set ❯

PHP dirname() Function



Definition and Usage

The dirname() function returns the directory name part of the path.

Syntax

Parameter Description
path Required. Specifies the path to check.

Example

The above code will output:


❮ Func Mysqli Fetch Lengths Func Mysqli Ssl Set ❯