Re: [PHP-DEV] [PATCH] Unicode number changes

2006-12-07 Thread Andrei Zmievski
Applied. -Andrei On Dec 7, 2006, at 2:55 AM, Matt Wilmas wrote: Hi Andrei, Antony, ... Attached is a patch for zend_u_strtol() and HANDLE_U_NUMERIC() to only allow ASCII digits and not use u_digit(). (Also switched to hex values for sign characters, etc.) I tested the changes quickly and

[PHP-DEV] [PATCH] Unicode number changes

2006-12-07 Thread Matt Wilmas
Hi Andrei, Antony, ... Attached is a patch for zend_u_strtol() and HANDLE_U_NUMERIC() to only allow ASCII digits and not use u_digit(). (Also switched to hex values for sign characters, etc.) I tested the changes quickly and all appears fine. Provides a pretty good performance increase too. :-)