Command Line Specific Extensions
PHP Manual

Newt