在线文档教程
PHP
处理控制 | Process Control

EvStat::prev

EvStat::prev

(PECL ev >= 0.2.0)

EvStat::prev — Returns the previous set of values returned by EvStat::attr

Description

public void EvStat::prev ( void )

Just like EvStat::attr() , but returns the previous set of values.

Parameters

This function has no parameters.

Return Values

Returns an array with the same structure as the array returned by EvStat::attr() . The array contains previously detected values.

See Also

  • EvStat::attr() - Returns the values most recently detected by Ev

  • EvStat::stat() - Initiates the stat call

← EvStat::createStopped

EvStat::set →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/evstat.prev.php