Ncurses
PHP Manual

ncurses_has_colors

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

ncurses_has_colors — Check if terminal has colors

Popis

bool ncurses_has_colors ( void )
Warning

Táto funkcia je EXPERIMENTÁLNA. Správanie tejto funkcie, názov tejto funkcie a hocičo iné zdokumentované o tejto funkcii sa môže zmeniť bez povšimnutia v budúcom vydaní PHP. Používajte túto funkcii na svoje vlastné riziko.

Checks whether the terminal has color capacities.

Vrátené hodnoty

Return TRUE if the terminal has color capacities, FALSE otherwise.

Tiež pozri


Ncurses
PHP Manual