| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 16 | class Pcntl |
||
| 17 | { |
||
| 18 | public function fork(): int |
||
| 19 | { |
||
| 20 | return \pcntl_fork(); |
||
| 21 | } |
||
| 22 | |||
| 23 | /** @param-out int $status */ |
||
| 24 | public function waitpid(int $process_id, ?int &$status, int $flags = 0): int |
||
| 30 | ); |
||
| 31 | } |
||
| 32 | |||
| 33 | public function wifstopped(int $status): bool |
||
| 36 | } |
||
| 37 | |||
| 38 | public function wstopsig(int $status): int|false |
||
| 43 |