I think that "Function naming inconsistency" bug deservers more attention

From: Date: Fri, 25 Jan 2013 14:24:12 +0000
Subject: I think that "Function naming inconsistency" bug deservers more attention
Groups: php.internals 
Request: Send a blank email to internals+get-65166@lists.php.net to get a copy of this message
I've seen discussion on reddit http://www.reddit.com/r/PHP/comments/174qng/lets_make_phps_function_names_consistent/ where many people are surprised why PHP can't have this done. Why inconsistency is something that we want to keep because of backward compatibility. PHP already introduced many backward compatibility issues and this change could just be fixed in old PHP projects (prior to for example PHP 6 or PHP 5.5) by just simple "find & replace" script in really most of the cases. Why it is so hard to deprecate functions that uses naming convention that dosen't really exist, that names were created by some crazy "let's imagine some name and don't look at API we have" man? Why we can't have PHP 6 that will be not some amazingly featured-packed version but version with API that just... makes sense. Regards, Damian Tylczyński

« previous php.internals (#65166) next »