Avoid 'Only variables should be passed by reference' warning and avoid drupal's braindead _drupal_log_error() in cache-rebuild.