There are some other samples like spam detection (bayesian networks) or OCR (using newral networks). And i'm sorry guys, php is used also in a server side scripting language and also can be converted into desktop GUI applications with PHP-GTK.
Check this php samples: http://www.phpclasses.org/browse/class/103.html