Timeline for What's the difference between using single and double quotes in strings?
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 25, 2014 at 15:14 | comment | added | Bryan Redeagle | @ChristianSeelbach Yep. You're right. I misread the Twig docs. | |
Jun 25, 2014 at 15:06 | comment | added | carlcs |
@Bryan {{ 'test' ~ 'String' }} works for me.
|
|
Jun 19, 2014 at 6:19 | vote | accept | nicael | ||
Jun 17, 2014 at 11:22 | comment | added | Bryan Redeagle | Except that you can concatenate string in PHP using single quotes (using "."). Twig still requires double quotes (using "~"). | |
S Jun 17, 2014 at 9:50 | history | suggested | Josh Angell | CC BY-SA 3.0 |
Fixed some grammar.
|
Jun 17, 2014 at 8:08 | review | Suggested edits | |||
S Jun 17, 2014 at 9:50 | |||||
Jun 16, 2014 at 22:16 | comment | added | Lindsey D | This is similar to the PHP logic between single and double quotes. | |
Jun 16, 2014 at 21:25 | history | answered | nicael | CC BY-SA 3.0 |