update README.md

This commit is contained in:
z7zmey 2018-04-09 23:30:44 +03:00
parent 6ff2beafa3
commit ac135f132d

View File

@ -40,7 +40,9 @@ import (
func main() { func main() {
src := bytes.NewBufferString(`<? echo "Hello world";`) src := bytes.NewBufferString(`<? echo "Hello world";`)
nodes, comments, positions := php7.Parse(src, "example.php") nodes, comments, positions, errors := php7.Parse(src, "example.php")
_ = errors
visitor := visitor.Dumper{ visitor := visitor.Dumper{
Writer: os.Stdout, Writer: os.Stdout,