首页 WordPress函数大全 path_is_absolute()

path_is_absolute()

2020-05-02 / 2825阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

path_is_absolute( string $path )

测试给定的文件系统路径是否为绝对路径。

描述

例如,“ / foo / bar”或“ c:\ windows”。

参数

$path

(string)
(Required)
File path.

返回

(bool) True if path is absolute, false is not absolute.

大家谈论
    我的见解