Language and development rules: Difference between revisions

Jump to navigation Jump to search
m
mNo edit summary
Tag: 2017 source edit
Tag: 2017 source edit
Line 62: Line 62:
====Strings====
====Strings====


*Strings must be delimited by a single or double quote and a variable within the string must be outside of the quote.
*Strings must be have variables outside of the quote.


<syntaxhighlight lang="PHP">
<syntaxhighlight lang="PHP">
print 'My text show my '.$variable.' !';
print "My text show my ".$variable." !\n";
</syntaxhighlight>
</syntaxhighlight>


Navigation menu