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 against PHP_5_3. I wasn't sure which branch I should write it
for--let me know if it should be against another branch. This is my first
patch submission so any comments are appreciated.
Regards,
--Matthew
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 supportedCASE_UPPER
and CASE_LOWER. Attached is a patch
to also add support for CASE_LCFIRST and CASE_UCFIRST.The patch is against PHP_5_3. I wasn't sure which branch I should write
it for--let me know if it should be against another branch. This is my
first patch submission so any comments are appreciated.
New stuff -> HEAD only (aka trunk :)
--Jani