Changes

330 bytes added ,  20:47, May 22, 2009
Something I wasted a lot of time puzzling over till I stumbled across the reason just a moment ago!
Line 7: Line 7:  
PHP is an ''interpreted language'' (like Perl) and not a ''compiled'' one (like [[Java]] or [[C]]).  
 
PHP is an ''interpreted language'' (like Perl) and not a ''compiled'' one (like [[Java]] or [[C]]).  
   −
==String handling==
+
==Strings==
 +
 
 +
Strings can be placed in single quotes or double quotes; this differs from Java, where single quotes are used only to enclose one single character rather than a string.
 +
 
 +
Important note:
 +
* single quoted strings don't recognize special character codes like \n [http://www.sitepoint.com/article/advanced-email-php/3/]
 +
 
 +
===Concatenation ===
    
The [[string concatenation]] operator is the period (or full stop). This is a big difference from most other languages, which use a plus sign or ampersand.
 
The [[string concatenation]] operator is the period (or full stop). This is a big difference from most other languages, which use a plus sign or ampersand.
Siteadmin, Check users, nsTeam1RO, nsTeam1RW, nsTeam1_talkRO, nsTeam1_talkRW, oversight, Administrators
30,650

edits