I have this code:

```
$text = "12345678910";
$codebits = str_split($text ,3);
for($b = 0; $b<3; $b++){
  echo "$codebits[$b]yes";
}

```

which outputs the result:

```
123yes456yes789yes

```

How can I change it to be in one line? For example:

```
123456789yes

```