Java like StringBuilder implementation for PHP