10.04.2014 Views

to get the file

to get the file

to get the file

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

General Syntactic Characteristics<br />

• All variable names begin with $<br />

• The name part is like <strong>the</strong> names of variables in many<br />

programming languages: a letter or an underscore<br />

followed by any number of letters, digits, or underscores<br />

• PHP variables are case sensitive, but reserved words<br />

and function names are not. (Table 12.1)<br />

(Ex) while, WHILE, While, and wHiLe are same<br />

• Comments - three different kinds (Java and Perl)<br />

(a) // ... ; for single line<br />

(b) # ... ; for single line<br />

(c) /* ... */ ; for multiple-line<br />

7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!