PHP:rewinddir()的用法 Linux
rewinddir (PHP 4, PHP 5)
rewinddir — 倒回目录句柄 说明 void rewinddir ( resource $dir_handle ) 将 dir_handle 指定的目录流重置到目录的开头...
标签: linux
PHP:getcwd()的用法 PHP
getcwd
(PHP 4, PHP 5)
getcwd — 取得当前工作目录
说明
string getcwd
( void
)
取得当前工作目录。
返回值
成功则返回当前工作目录,失
PHP:dir()的用法 PHP
dir
(PHP 4, PHP 5)
dir — 返回一个 Directory 类实例
说明
Directory dir
( string $directory
[, resource $context
] )
以面向对象的方式访问目录。打开
PHP:closedir()的用法 PHP
closedir
(PHP 4, PHP 5)
closedir — 关闭目录句柄
说明
void closedir
( resource $dir_handle
)
关闭由 dir_handle 指定的目录流。流必须之前被
opendir()
PHP:chdir()的用法 PHP
chdir (PHP 4, PHP 5)
chdir — 改变目录 说明 bool chdir ( string $directory ) 将 PHP 的当前目录改为 directory。 参数 directory ...
PHP:chroot()的用法 PHP
chroot
(PHP 4 >= 4.0.5, PHP 5)
chroot — 改变根目录
说明
bool chroot
( string $directory
)
将当前进程的根目录改变为
directory。
本函数仅
PHP:strtotime()的用法 PHP
strtotime (PHP 4, PHP 5)
strtotime — 将任何英文文本的日期时间描述解析为 Unix 时间戳 说明 int strtotime ( string $time [, int $now = time...
PHP:time()的用法 PHP
time (PHP 4, PHP 5)
time — 返回当前的 Unix 时间戳 说明 int time ( void ) 返回自从 Unix 纪元(格林威治时间 1970 年 1 月 1 日 00:00:00)到当前时间的秒...
PHP:strftime()的用法 PHP
strftime (PHP 4, PHP 5)
strftime — 根据区域设置格式化本地时间/日期 说明 string strftime ( string $format [, int $timestamp = time()...
PHP:strptime()的用法 PHP
strptime
(PHP 5 >= 5.1.0)
strptime — 解析由 strftime() 生成的日期/时间
说明
array strptime
( string $date
, string $format
)
strptime() 返回一个将