©
本文档使用
php.cn手册 发布
ncurses (new curses) is a free software emulation of curses in System V Rel 4.0 (and above). It uses terminfo format, supports pads, colors, multiple highlights, form characters and function key mapping. Because of the interactive nature of this library, it will be of little use for writing Web applications, but may be useful when writing scripts meant using PHP from the command line.
The features available, such as colors, depend on the terminal that you are using. Use functions such as ncurses_has_colors() , ncurses_can_change_color() , and ncurses_has_ic() to check for individual capabilities.
Note:
此扩展已被移至 » PECL 资源库且不再与 PHP 捆绑。5.3.0.
ncurses is available for the following platforms:
[#1] i [2013-09-13 20:36:25]
The NCURSES functions are so awesome. I wish we had more standard php documentation however. I guess its up to the community.