smart_str_print_long does a wrong thing when printing longs. From what I understand, it tries to 'reverse' the number so that it could be printed more easily. The problem here is that number that fits long may not fit long when 'reversed'. So this procedure gives utter trash for big numbers, e.g., 2147483647 is printed as 0(/)(0*.// - which is not exactly what would be expected. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]