1
0
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:
Alex Palaistras 2015-09-22 22:07:26 +01:00
parent 9429925cdb
commit 0c5c6675a4

View File

@ -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.