ZF-10064: Double function call

Issue Type: Improvement Created: 2010-06-28T05:39:12.000+0000 Last Updated: 2010-07-04T03:18:56.000+0000 Status: Resolved Fix version(s): - 1.10.7 (28/Jul/10)

Reporter: Tom Van Looy (tvlooy) Assignee: Thomas Weidner (thomas) Tags: - Zend_Locale

Related issues: Attachments:


I think that the constructor in Zend_Locale can get rid of one call:

$locale = self::_prepareLocale($locale);

I think this one is superfluous because setLocale() is called next, which does the same at line 1 of the function.


Posted by Thomas Weidner (thomas) on 2010-07-04T03:18:51.000+0000

Agreed to make the code be faster for 1 ┬Ás.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.