update : 2015.11.03
php.shukuma.com검색:
|
ncurses_has_colors(PHP 4 >= 4.0.7, PHP 5 < 5.3.0, PECL ncurses >= 1.0.0) ncurses_has_colors — Checks if terminal has color capabilities 설명
bool ncurses_has_colors
( void
)
Checks whether the terminal has color capabilities. This function can be used to write terminal-independent programs. ncurses must be initialized using ncurses_init() before calling this function. 인수이 함수는 인수가 없습니다. 반환값
Return 예제
Example #1 Writing a string with a specified color to the screen
<?php 참고
|