function _coder_performance_double_quotes_warning in Coder 5
1 string reference to '_coder_performance_double_quotes_warning'
- coder_performance_reviews in includes/
coder_performance.inc - @file This include file implements coder functionality for Performance
File
- includes/
coder_performance.inc, line 76 - This include file implements coder functionality for Performance
Code
function _coder_performance_double_quotes_warning() {
return array(
'#warning' => t('<code class="good">\'foo\'</code> is faster than <code class="bad">"foo"</code>'),
'#description' => t('This is because a double quotes encapsulated string is parsed for variables and escaped characters. Always use single quotes, if not necessarily needed.'),
);
}