View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004276 | OXID eShop (all versions) | 4.05. Performance | public | 2012-07-22 21:47 | 2012-12-10 13:29 |
Reporter | marco_steinhaeuser | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Product Version | 4.6.2 revision 46646 | ||||
Summary | 0004276: replace double quotes by apostrophes in lang files | ||||
Description | Presently, at least since version 4.5.1, we have this structure in language files: 'LANG_KEY' => "Value", Please replace double quotes for the values and replace them by apostrophes like this: 'LANG_KEY' => "Value", Using double quotes means that all keys will be handled by the PHP parser again as there could be found another variable. Doing like this, could increase the performance at least a bit. Anyway, there seems to be no variable in standard translation of the shop. | ||||
Tags | Performance | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
Double quotes vs. single quotes - you can hear this discussion already for years... In earlier php version (4.x) it had some impact in on speed, but now days in latests php versions it does not matter which kind of quotes you are using. Some links to read about that: http://www.linuxask.com/questions/should-i-always-use-single-quotes-for-php-strings And more detailed explanation: http://nikic.github.com/2012/01/09/Disproving-the-Single-Quotes-Performance-Myth.html |