* updated php-doc blocks.
* empty() functions replaced w/ count().