ncurses_instr
(PHP 4 >= 4.2.0, PHP 5, PECL ncurses:1.0.0)
ncurses_instr — Reads string from terminal screen
Descrierea
int ncurses_instr
( string &$buffer
)
Avertizare
Această funcţie este EXPERIMENTALĂ. Comportamentul acestei funcţii, denumirea sa şi orice alte aspecte documentate în privinţa acestei funcţii pot să fie modificate fără preaviz într-o versiune viitoare a PHP. Utilizaţi această funcţie la propriul risc.
Reads a string from the terminal screen and returns the number of characters read from the current character position until end of line.
Parametri
- buffer
-
The characters. Attributes will be stripped.
Valorile întroarse
Returns the number of characters.