Re: [Fwd: Re: [Zend Engine 2] Case sensitivity:

From: Date: Sun, 10 Feb 2002 19:17:01 +0000
Subject: Re: [Fwd: Re: [Zend Engine 2] Case sensitivity:
References: 1 2 3 4 5  Groups: php.dev php.dev 
Request: Send a blank email to php-dev+get-79911@lists.php.net to get a copy of this message
Stig S. Bakken wrote:
Because PHP has gotten about a million more users since then?
Good point. I also think less number of impacts for existing code is preferred. Since many people believe ini option for case sensitivity will lead bad compatibility problem like register_globals, I might write a patch for ZE2 to show it may not. I have to check current ZE2 code if it's feasible or not to be sure ;) -- Yasuo Ohgaki
- Stig On Thu, 2002-02-07 at 00:57, Jason Greene wrote:
If everyone has been able to adapt to case sensitive variable names, why can they not adapt to case sensitive function names? -Jason On Wed, 2002-02-06 at 09:01, John Lim wrote:
Thanks for posting this request for comments, Yasuo. I think from a C developer's point of view, it makes perfect sense to have case-sensitivity. From a scripting point-of-view, I think it is a step backward. Studies by the Python group have shown that case-sensitivity is a serious barrier for beginners. I also think that a significant number of PHP users who do *not* program in C, C++ or languages which require case-sensitivity would be most unhappy. These people would definitely not visit php.dev or Zend2 lists, so I think opinions here are skewed (not twisted!) Backward compatibility is a headache also as many PHP libraries written by other people have weird case conventions, and not having a standard PHP coding style will mean our code will be a mess as we have to adhere to different coding styles. We have been trained in Javascript and C to spell the standard libraries in a standard way. But what is the correct spelling of OCIPLogon (or was that ociplogon, or was that ociPLogon)? Who knows and I think moany people would not want to care. I certainly don't. In the C library, I'm used to having all lowercase functions, but it will look wierd if PEAR DB follows one convention, PHP extensions follow another, and my code follows a different one. Without case-sensitivity, I can use a consistent code style for functions everywhere for OciPLogon (hah, another spelling variation!) I think PHP5 is a bit late in the game to change course so radically for so little benefit. This will stir up a hornets nest which would be better directed at fixing bugs, writing code, and finding happiness and peace. My PHP 5 cents worth. John Lim Perhaps someone could cc this to the Zend2 lists as I don't read it. Thanks. Thies C. Arntzen <thies@thiesos.org> wrote in message news:20020206134041.GF11014@schnuffel.thieso.net...
On Wed, Feb 06, 2002 at 07:40:18PM +0900, Yasuo Ohgaki wrote:
Hi all, I'm posting this for those who are not subscribing Zend Engine 2 list. Many of developers seems to have case sensitivity for class/function names. However, we need vote for if PHP5 will have case sensitive class/function/constant names. If you have comments, please submit one. PS: We know we can cheat. Let's hope nobody cheat :) You can read Zend Engne 2 list archive at http://www.zend.com/lists.php
besides the BC mess i'm all for it (make PHP5 case-sensite). tc
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php
-- Jason T. Greene Internet Software Engineer <jason@inetgurus.net> <jason@php.net> <jason.greene@tdstelecom.com> Use PHP: http://www.php.net -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php
-- Yasuo Ohgaki Please CC me when you reply to news/list messages. Do not reply only to me :)

« previous php.dev (#79911) next »