]> granicus.if.org Git - php/commit
Make number printing functions less generic
authorNikita Popov <nikic@php.net>
Fri, 19 Sep 2014 21:22:26 +0000 (23:22 +0200)
committerNikita Popov <nikic@php.net>
Fri, 19 Sep 2014 21:39:07 +0000 (23:39 +0200)
commit31e842472f46d8aa32e2ef316da245f18806589d
treee87882472345b757f3b898c441dc9e80e0d4364a
parentad3e1830bafdcbf366f611c8778c5409bd4472d2
Make number printing functions less generic

Now that zend_ulong is 64bit on 64bit platforms, it should be
sufficient to always use it, rather than supporting multiple
types.

API changes:
 * _zend_print_unsigned_to_buf and _zend_print_signed_to_buf
   no longer exist.
 * smart_str(ing)_print_long and smart_str(ing)_print_unsigned
   no longer exist.
 * Instead of all these, zend_print_ulong_to_buf and
   zend_print_long_to_buf should be used.
 * smart_str_append_generic_ex no longer exists.
 * smart_str(ing)_append_off_t(_ex) no longer exists, use
   smart_str(ing)_append_long(_ex) instead.
Zend/zend_operators.c
Zend/zend_operators.h
ext/standard/php_smart_str.h
ext/standard/php_smart_string.h
ext/standard/var.c
sapi/cli/php_cli_server.c
sapi/thttpd/thttpd.c