Re: [PHP-DEV] [patch] Allow array_change_key_case to support ucfirst and lcfirst

2009-09-22 Thread Jani Taskinen
Matthew Fonda wrote: Hi All, I came across a situation where I had to make the first character of an arrays keys uppercase, and found the array_change_key_case function, but noticed it only supported CASE_UPPER and CASE_LOWER. Attached is a patch to also add support for CASE_LCFIRST and CASE_

[PHP-DEV] [patch] Allow array_change_key_case to support ucfirst and lcfirst

2009-09-22 Thread Matthew Fonda
Hi All, I came across a situation where I had to make the first character of an arrays keys uppercase, and found the array_change_key_case function, but noticed it only supported CASE_UPPER and CASE_LOWER. Attached is a patch to also add support for CASE_LCFIRST and CASE_UCFIRST. The patch is aga