1
0
mirror of https://github.com/deuill/go-php.git synced 2024-09-21 08:50:45 +00:00

Fix README example for NewContext restructuring

This commit is contained in:
Alex Palaistras 2015-10-17 16:01:46 +01:00
parent 6a3fd786ea
commit acc2b7a9bd

View File

@ -22,11 +22,10 @@ import (
func main() {
engine, _ := php.New()
context, _ := php.NewContext(os.Stdout)
context, _ := engine.NewContext(os.Stdout)
context.Exec("index.php")
context.Destroy()
engine.Destroy()
}
```