Re: Complete case-sensitivity in PHP
| From: | Yasuo Ohgaki | Date: | Sun, 22 Apr 2012 21:12:27 +0000 |
| Subject: | Re: Complete case-sensitivity in PHP | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-60260@lists.php.net to get a copy of this message | ||
Hi,
2012/4/23 Galen Wright-Watson <ww.galen@gmail.com>:
>> 2. Absent bug #18556, case-sensitive PHP has merits as I stated in other
>> post and several people voiced opinions in favor. Case-sensitive PHP is
>> worth considering.
>>
>> It is, but it's also a major BC break, hence perhaps better suited for
> PHP6. Case-sensitivity is also a much bigger issue than this bug. A custom
> conversion function, on the other hand, produces the minimum impact of any
> option I've read. As such, it's hopefully a solution for this bug that
> everyone can agree on.
Conversion script may be provided.
It's a rather simple script with tokenizer.
Anyway, if we are going to change function name rule, consistent module
function names should better be considered at the same time.
createimage() htmlentities(), etc should be create_image()/html_entities().
There is alias system. This is just a matter of defining aliases for them.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net