Ncurses Функции
PHP Manual

ncurses_can_change_color

(PHP 4 >= 4.0.7, PHP 5, PECL ncurses >= 1.0.0)

ncurses_can_change_colorCheck if we can change terminals colors

Описание

bool ncurses_can_change_color ( void )
Предупреждение

Тази функция е ЕКСПЕРИМЕНТАЛНА. Поведението на функцията, името й, както и съпътстващата документация, могат да бъдат променени без предупреждение в бъдеща версия на PHP. Тази функция би трябвало да бъде използвана единствено на ваша собствена отговорност.

Tells whether the terminal has color capabilities and whether the programmer can change the colors.

Връщани стойности

Return TRUE if the terminal has color capabilities and you can change the colors, FALSE otherwise.


Ncurses Функции
PHP Manual