phalcon/cphalcon — pull request #2491 by joni (2014-05-31 19:33:15+00:00)
Title: Extra } in Formatter::interpolate with numeric index

`\Phalcon\Logger\Formatter::interpolate` leaves a closing } behind when using numeric indices for `context`. That is, the following produces the message `Hello World}`:
```
info("Hello {0}", ['World']);
```
This seems to happen because the return value of `spprintf` does not count the terminating NUL character.