multiline strings throw out error line numbers

e.g:

```
<?php
$foo = "test
multiline

string"
a
?>
```
shows  error on line 3 instead of 6.
remove unnecessary new line repace
Merge pull request #1660 from adamjimenez/patch-21

multiline strings throw out error line numbers