Trick: Single quoted vs double quoted string
Posted by mustapha under Code[5] Comments | No Trackbacks
Use single quoted strings unless you need to interpolate variables into your string. This saves PHP the time to scan the string for contained variables and saves about 50% execution time. here is a benchmark:
I have ported the Connections theme from WordPress to Nucleus to build this site. It is a very original designed theme. I like it. I want to share it with Nucleus users. In this theme there is a call to the BlogsList plugin. If you do not planify to use it, you have to change nothing because the call is enclosed in a test that checks for its existance, but if you planify to use it, you can download it too.