int number = 1000000000;
string whatYouWant = number.ToString("#,##0");
//You get: 1,000,000,000
Drop your error reporting level below E_DEPRECATED.
PHP 5.3 introduced two new error reporting levels, E_DEPRECATED and E_USER_DEPRECATED and - for the first time in PHP's history - they've started to walk away from older parts of their API. The ereg_* function will still work, but this warning is intended to let you know that "hey, these function will be going away soon, probably in the next major revision).
Looks like the problem is with PHP 5.3.0. You could try downgrading to 5.2.9 as suggested by this drupal link: http://drupal.org/node/514334
Вы можете отредактировать файл common.inc, чтобы игнорировать устаревшие флаги ошибок. Смотрите мой пост: http://funkinetics.org/klink/function-ereg-is-deprecated-error-in-drupal-6x-with-php-53/