add closure functions, grep & split shorthand

add some visibility declaration to propietes and functions
now is no longer support to php4
add replace callback with closure functions
add shorthand method preg_grep
add shorthand method preg_split