initialize strings in php

It is for static page, dynamic page, website, SEO, performance and other web development discussion
Joshi jahanvi

initialize strings in php

Postby Joshi jahanvi » Sun Sep 14, 2014 3:45 pm

Would you initialize your strings with single quotes or double quotes?


sonall gajera

Re: initialize strings in php

Postby sonall gajera » Sun Jul 12, 2015 11:38 am

Since the data inside the single-quoted string is not parsed for variable substitution, its always a better idea speed-wise to initialize a string with single quotes, unless you specifically need variable substitution.


Return to “PHP, HTML, MYSQL and Web Hosting”

Who is online

Users browsing this forum: No registered users and 1 guest