diff --git a/src/utils/pthreads.php b/src/utils/pthreads.php index 2edfb0b9..33d16f38 100644 --- a/src/utils/pthreads.php +++ b/src/utils/pthreads.php @@ -48,7 +48,7 @@ class AsyncMultipleQueue extends Thread{ $str = ""; while(!isset($str{$len - 1})){ $str .= $this->input{0}; - $this->input = substr($this->input, 1); + $this->input = (string) substr($this->input, 1); } return $str; }