Monday, 29 October 2007

This post is just notes to myself(to be continuously updated)

PHP:

print_r()
$pizzaToppings = array('onion', 'tomato', 'cheese');
or withassociative array $fruits = array('red' => 'apple', 'yellow' => 'banana'); (same as cocoa dictionary)
=== checks with data type also
explode()
sizeof()
with an associative array, the array_keys() and array_values() list of all the keys and values
foreach()
isset()
include() and require()
or die()
file() file_put_contents()
file_get_contents()
func_get_args()
global
public function __construct() {}
public/private
access object properties.. $obj->author

No comments: