Doing it once is not going to give you long term problems, but don't do it again. PVC generates a toxic gas when it is burnt or strongly heated; it can cause more than just a headache.
The vapors from nearly all plastics are bad to inhale, some are very bad such as PVC.