11.07.2015 Views

PHP MySQL - Stilson.net

PHP MySQL - Stilson.net

PHP MySQL - Stilson.net

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

www.it-ebooks.info• CONTENTSOutputting Data to the Browser .......................................................................................45The print() Statement.............................................................................................................................. 46The echo() Statement ............................................................................................................................. 47The printf() Statement ............................................................................................................................ 47The sprintf() Statement........................................................................................................................... 49<strong>PHP</strong>’s Supported Data Types ...........................................................................................49Scalar Data Types................................................................................................................................... 49Compound Data Types............................................................................................................................ 51Converting Between Data Types Using Type Casting............................................................................. 52Adapting Data Types with Type Juggling ............................................................................................... 53Type-Related Functions.......................................................................................................................... 55Type Identifier Functions ........................................................................................................................ 56Identifiers.........................................................................................................................56Variables..........................................................................................................................57Variable Declaration ............................................................................................................................... 58Variable Scope........................................................................................................................................ 59<strong>PHP</strong>’s Superglobal Variables .................................................................................................................. 62Variable Variables................................................................................................................................... 68Constants.........................................................................................................................68Expressions .....................................................................................................................69Operands ................................................................................................................................................ 69Operators................................................................................................................................................ 69String Interpolation..........................................................................................................76Double Quotes ........................................................................................................................................ 77Escape Sequences ................................................................................................................................. 77Single Quotes ......................................................................................................................................... 78Curly Braces ........................................................................................................................................... 79Heredoc .................................................................................................................................................. 79vii

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

Saved successfully!

Ooh no, something went wrong!