On Fri, 8 Feb 2013, Hannes Magnusson wrote:

> > -  MONGO_CHECK_INITIALIZED_STRING(id->id, MongoId);
> > -
> > -  for (i=8; i>6; i--) {
> > -    int x = ((int)id->id[i] < 0) ? 256+id->id[i] : id->id[i];
> > -    pid = (pid*256) + x;
> > -  }
> > +PHP_METHOD(MongoId, getPID)
> > +{
> > +	int pid = 0, i;
> > +	mongo_id *id = (mongo_id*)zend_object_store_get_object(getThis() TSRMLS_CC);
> > +	MONGO_CHECK_INITIALIZED_STRING(id->id, MongoId);
> > +
> > +	for (i = 8; i > 6; i--) {
> > +		int x;
> > +		
> > +		x = ((int)id->id[i] < 0) ? 256 + id->id[i] : id->id[i];
> 
> there is a boatload of added trailing ws before this line

Fixed (once I push and commit)