PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ncurses_bkgd> <ncurses_baudrate
Last updated: Sat, 24 Mar 2007

view this page in

ncurses_beep

(PHP 4 >= 4.0.7, PHP 5, PECL ncurses:1.0.0)

ncurses_beep — Let the terminal beep

Popis

int ncurses_beep ( void )
Varování

Tato funkce je EXPERIMENTÁLNÍ. Chování této funkce, její název a všechno ostatní, co je zde zdokumentováno, se v budoucích verzích PHP může BEZ OHLÁŠENÍ změnit. Berte to v úvahu a používejte tuto funkci na vlastní nebezpečí.

ncurses_beep() sends an audible alert (bell) and if its not possible flashes the screen.

Viz také

ncurses_flash()



add a note add a note User Contributed Notes
ncurses_beep
arplynn at gmail dot com
21-Jan-2006 12:17
If you want to make the terminal beep on a PHP CLI application without needing the ncurses library, use the following code:

<?php

function cli_beep()
{
    echo
"\x07";
}

?>

ncurses_bkgd> <ncurses_baudrate
Last updated: Sat, 24 Mar 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites