mirror of
https://github.com/deuill/go-php.git
synced 2024-09-21 08:50:45 +00:00
Fix incorrect reference in README.
This commit is contained in:
parent
9429925cdb
commit
0c5c6675a4
@ -32,7 +32,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
The above will execute script file located in `src/index.php` and write any output to the `io.Writer` passed to `engine.NewContext`.
|
The above will execute script file located in `index.php` and write any output to the `io.Writer` passed to `engine.NewContext` (in this case, the standard output).
|
||||||
|
|
||||||
By executing the PHP context in a goroutine, one can read from the writer as the output is generated by the script, and is useful for long-running scripts which output information during execution.
|
By executing the PHP context in a goroutine, one can read from the writer as the output is generated by the script, and is useful for long-running scripts which output information during execution.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user