PHP » GoLang |
login |
register |
about
|
GoLang EvStat::__construct
request it (385)
GoLang replacement for PHP's EvStat::__construct
[edit | history]
EvStat::__construct(PECL ev >= 0.2.0) EvStat::__construct — Constructs EvStat watcher object Description
public
EvStat::__construct
(
string
$path
,
float
$interval
,
callable
$callback
[,
mixed
$data
= NULL
[,
int
$priority
= 0
]] )Constructs EvStat watcher object and starts the watcher automatically. Parameters
Return ValuesReturns EvStat watcher object on succes. ExamplesExample #1 Monitor changes of /var/log/messages
<?php |
more
Recently updated
more
Most requested
more
Last requests
|