ncurses_has_colors
(PHP 4 >= 4.0.7, PHP 5, PECL ncurses:1.0.0)
ncurses_has_colors — Check if terminal has colors
Descrizione
bool ncurses_has_colors
( void
)
Avviso
Questa funzione è SPERIMENTALE. Ovvero, il comportamento di questa funzione, il nome di questa funzione, in definitiva tutto ciò che è documentato qui può cambiare nei futuri rilasci del PHP senza preavviso. Siete avvisati, l'uso di questa funzione è a vostro rischio.
Checks whether the terminal has color capacities.
Valori restituiti
Return TRUE if the terminal has color capacities, FALSE otherwise.