|
mysqli::pollmysqli_pollPoll connections DescriptionObject oriented style
public static int mysqli::poll
( array
&$read
, array &$error
, array &$reject
, int $sec
[, int $usec
] )Procedural style
int mysqli_poll
( array
&$read
, array &$error
, array &$reject
, int $sec
[, int $usec
] )Poll connections. Available only with mysqlnd. The method can be used as static. Parameters
Return Values
Returns number of ready connections upon success, Examples
Example #1 A mysqli_poll example
<?phpThe above example will output:
Array
(
[0] => test
)
See Also
|