Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 

Latest Version on Packagist Total Downloads

CommandlineBell

php-commandline-bell makes the ASCII Bell sound or flashes the terminal.

use repat\CommandlineBell;

// flashes screen if possible, otherwise just bell()
CommandlineBell::flash();

// makes a beep sound
CommandlineBell::bell();

Under the hood

// ASCI BEL, see https://en.wikipedia.org/wiki/Bell_character
echo "0x07";

Alternatives

About

Makes the ASCII Bell sound or flashes terminal

Resources

License

Packages

No packages published

Languages