ncurses_has_colors
(PHP 4 >= 4.0.7, PHP 5, PECL ncurses:1.0.0)
ncurses_has_colors — Check if terminal has colors
Description
bool ncurses_has_colors
( void
)
Warning
Den här funktionen är EXPERIMENTELL. Dess beteende, namnet på den, och allt annat dokumenterat om den här funktionen kan ändras i framtida utgåvar av PHP. Använd den på egen risk.
Checks whether the terminal has color capacities.
Return Values
Return TRUE if the terminal has color capacities, FALSE otherwise.