variables are case sensitive function names are case-insensitive class names are case-insensitive key words are case-insensitive constructs are case-insensitive ********** 8 data types: int float-point string Booleans arrays objects resource(handle) NULL(case insensitive) **************** evaluate to false: false 0 0.0 "0" "" an array with 0 elements an object with no values or functions NULL ***************** ***************** A variable that has not been set value behaves like NULL ****************** variables defined outside a function(called global variables) is not accessible inside a function. variable scope: local global static function ***************** php garbage collection : reference counting copy-on-write ******************** == same === identical, datatype also matches ******************** Logical oeprator && and || or xor ! Bitwise operator ~ % | ^ << >> ******************** (int) (float) (array) (object) (string) (bool) ********************* In Switch/While/For, you can specify an optional number for break/continue keyword to break/continue out of. ********************* require a nonexistent file is a fatal error, while include will give a warning and moves on. ********************* silence warning: @include get_included_files() ********************** = : Direct echo. No space between ? and = "/> only works with shot_open_tag "/> not working. ********************** Functions only compiled once for the page. **********************