chroot

(PHP 4 >= 4.0.5, PHP 5, PHP 7) Change the root directory bool chroot ( string $directory ) Changes the root directory of the current process to directory, and changes the current working directory to "/". This function is only available to GNU and BSD systems, and only when using the CLI, CGI or Embed SAPI. Also, this function requires root privileges. Parameters: directory

Directory::rewind

(PHP 4, PHP 5, PHP 7) Rewind directory handle public void Directory::rewind ([ resource $dir_handle ] ) Same as rewinddir(), only dir_handle defaults to $this.

dio_write

(PHP 4 >= 4.2.0, PHP 5 <= 5.0.5, PHP 7) Writes data to fd with optional truncation at length int dio_write ( resource $fd, string $data [, int $len = 0 ] ) dio_write() writes up to len bytes from data to file fd. Parameters: fd The file descriptor returned by dio_open(). data The written data. len

dio_stat

(PHP 4 >= 4.2.0, PHP 5 <= 5.0.5, PHP 7) Gets stat information about the file descriptor fd array dio_stat ( resource $fd ) dio_stat() returns information about the given file descriptor. Parameters: fd The file descriptor returned by dio_open(). Returns: Returns an associative array with the following keys: "device" - device "inode

Directory::close

(PHP 4, PHP 5, PHP 7) Close directory handle public void Directory::close ([ resource $dir_handle ] ) Same as closedir(), only dir_handle defaults to $this.

dio_truncate

(PHP 4 >= 4.2.0, PHP 5 <= 5.0.5, PHP 7) Truncates file descriptor fd to offset bytes bool dio_truncate ( resource $fd, int $offset ) dio_truncate() truncates a file to at most offset bytes in size. If the file previously was larger than this size, the extra data is lost. If the file previously was shorter, it is unspecified whether the file is left unchanged or is extended. In the latter case the extended part read

dio_seek

(PHP 4 >= 4.2.0, PHP 5 <= 5.0.5, PHP 7) Seeks to pos on fd from whence int dio_seek ( resource $fd, int $pos [, int $whence = SEEK_SET ] ) The function dio_seek() is used to change the file position of the given file descriptor. Parameters: fd The file descriptor returned by dio_open(). pos The new position.

dio_tcsetattr

(PHP 4 >= 4.3.0, PHP 5 <= 5.0.5, PHP 7) Sets terminal attributes and baud rate for a serial port bool dio_tcsetattr ( resource $fd, array $options ) dio_tcsetattr() sets the terminal attributes and baud rate of the open fd. Parameters: fd The file descriptor returned by dio_open(). options The currently available options are:

dio_fcntl

(PHP 4 >= 4.2.0, PHP 5 <= 5.0.5, PHP 7) Performs a c library fcntl on fd mixed dio_fcntl ( resource $fd, int $cmd [, mixed $args ] ) The dio_fcntl() function performs the operation specified by cmd on the file descriptor fd. Some commands require additional arguments args to be supplied. Parameters: fd The file descriptor returned by dio_open().

HRTime\StopWatch::getElapsedTime

(PECL hrtime >= 0.4.3) Get elapsed time for all intervals. public float HRTime\StopWatch::getElapsedTime ([ integer $unit ] ) Get elapsed time for all the previously closed intervals. Parameters: unit Time unit represented by a HRTime\Unit constant. Default is HRTime\Unit::SECOND. Returns: Returns float indicating elapsed time.