Archive for September, 2020

                                           

Single or Double Quote String literals in PHP

String literals in PHP can be either double-quoted or single-quoted. Both work fine. However, the single quote string literal comes with few limitations. Limitations of single quote string literals in PHP In our example above, the second variable $name2, is a single quote string literal. Hence, its main limitations are:- Single quote string literals don’t […]