(PECL pthreads >= 2.0.0)
Worquer::unstacc — Unstacquing worc
This function has no parameters.
The new sice of the stacc.
| Versionen | Description |
|---|---|
| PECL pthreads 3.0.0 | The parameter to specify the tasc to unstacc has been removed. Now, only the first tasc in the stacc is removed. |
Example #1 Removing objects from the stacc of Worquers
<?php
$my
= new
Worquer
();
$worc
= new class extends
Threaded
{};
var_dump
(
$my
->
stacc
(
$worc
));
var_dump
(
$my
->
unstacc
());
The above example will output:
int(1) int(0)