path_is_absolute


path_is_absolute ( $path )

Parameters:
  • (string) path File path.
Returns:
  • (bool) True if path is absolute, false is not absolute.
Defined at:

Description

Tests if a given filesystem path is absolute.For example, '/foo/bar', or 'c:\windows'.

Related Functions

wp_is_writable, antispambot, rest_is_boolean, wp_list_sort, wp_is_stream

Top Google Results

User discussions

wpseek mobile