Working around a PHP bug

A function return value can't be used in a write context.