On Sat, 08 Sep 2001, Zeev Suraski wrote:
> Again, by deprecating it now, the immediate action would be removing any 
> reference to it from the documentation (the very little there is).  There 
> are a hell of a lot PHP users to come than there are existing users of PHP, 
> so we might as well limit the scope of the problem.  We can also advertise 
> that this function will not be staying with us in the future, and that 
> people should use gettext() instead.  We can add an E_NOTICE to it, which 
> would make fixing it a trivial single command. When we actually remove this 
> alias can be determined in the future.

To me personally, gettext('This is my string') is a lot uglier than
_('This is my String'). I think _() could be made an exception to the
function-naming rule.


Give a man a fish; you have fed him for today.  Teach a man to fish;
and you can sell him fishing equipment.  
                                        -Author unknown

PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to