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
הפונקציה זאת היא ניסיונית. ההתנהגות של הפונצקיה, שם הפונקציה וכל הדברים אשר מתועדים כאן עשויים להשתנות ללא התרעה בהפצות עתידיות של PHP. השתמש בתוספת זאת על אחריותך בלבד.
Checks whether the terminal has color capacities.
Return Values
Return TRUE if the terminal has color capacities, FALSE otherwise.