a very bad example of the PhpSerial class usage