@@ -68,7 +68,7 @@ |
||
| 68 | 68 | ); |
| 69 | 69 | } else { |
| 70 | 70 | throw new RuntimeException( |
| 71 | - 'PHP need to be compiled with ZTS extension or compiled with the --enable-pcntl. ' . |
|
| 71 | + 'PHP need to be compiled with ZTS extension or compiled with the --enable-pcntl. '. |
|
| 72 | 72 | 'Windows is not supported.' |
| 73 | 73 | ); |
| 74 | 74 | } |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | */ |
| 67 | 67 | public function execute() |
| 68 | 68 | { |
| 69 | - $this->threadKey = 'thread_' . rand(1000, 9999) . rand(1000, 9999) . rand(1000, 9999) . rand(1000, 9999); |
|
| 69 | + $this->threadKey = 'thread_'.rand(1000, 9999).rand(1000, 9999).rand(1000, 9999).rand(1000, 9999); |
|
| 70 | 70 | |
| 71 | 71 | if (($this->pid = pcntl_fork()) == -1) { |
| 72 | 72 | throw new RuntimeException('Couldn\'t fork the process'); |