PHP progress
Learning PHP at Codecademy Topics String and variables - Done Number - Done Functions - Done Intro to Built-in PHP functions - Done find variable types gettype(); var_dump(); string functions strrev();strtolower(); strtoupper(); str_repeat(); substring substr_count(); number function abs(); round(); generating random numbers rand(); getrandmax(); ceil(); documentation str_pad(); check value in array in_array("valuetocheck", $array) Ordered Arrays can be integer or string or any data type $my_array = array(); or $my_array=[]; returns the array length count($array); print the array in array list print_r(); print the array into string implode ("glue", array); accessing the array $my_array[pos]; adding and changing elements $my_array[pos] = new value; pushing and popping remove the last element array_pop(); append the element array_push(); remove first element array_shift(); prepend the element array_unshit(); remove the first element array_shift(); nestede array value = $my_array[][][] Associative Arrays - concept of dictionary - key and valure pair $my_array = array("key"=>"value"); or $my_array = ["key"=>"value"]; - remove element unset(); - joining the array in union manner - assign by reference ...